svn commit: r330809 - head/graphics/glosm
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Oct 19 00:14:23 UTC 2013
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 at 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>
More information about the svn-ports-all
mailing list