Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 00:14:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330809 - head/graphics/glosm
Message-ID:  <201310190014.r9J0EM6e019268@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct 19 00:14:22 2013
New Revision: 330809
URL: http://svnweb.freebsd.org/changeset/ports/330809

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax

Modified:
  head/graphics/glosm/Makefile

Modified: head/graphics/glosm/Makefile
==============================================================================
--- head/graphics/glosm/Makefile	Sat Oct 19 00:05:32 2013	(r330808)
+++ head/graphics/glosm/Makefile	Sat Oct 19 00:14:22 2013	(r330809)
@@ -11,8 +11,8 @@ MASTER_SITES=	http://cloud.github.com/do
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	3D OpenGL renderer for OpenStreetMap
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
-		expat:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
+		libexpat.so:${PORTSDIR}/textproc/expat2
 
 USE_BZIP2=	yes
 USES=		cmake
@@ -21,18 +21,16 @@ USE_SDL=	sdl
 
 PORTDOCS=	README ChangeLog
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
 
 regression-test:
 	cd ${BUILD_WRKSRC} && ctest
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
 .endfor
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310190014.r9J0EM6e019268>