diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-17 09:15:50 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-17 09:15:50 +0800 |
commit | 34625de756d46b7a13bb6b00c72f874221d0a8e4 (patch) | |
tree | 01bfa31ddc43b11d86e377374c8ba355ef552c81 /astro/osmium | |
parent | 91c40a88d0c0a39e52065a4f2828bee917661213 (diff) | |
download | freebsd-ports-gnome-34625de756d46b7a13bb6b00c72f874221d0a8e4.tar.gz freebsd-ports-gnome-34625de756d46b7a13bb6b00c72f874221d0a8e4.tar.zst freebsd-ports-gnome-34625de756d46b7a13bb6b00c72f874221d0a8e4.zip |
- Support staging
- Use new LIB_DEPENDS syntax
Diffstat (limited to 'astro/osmium')
-rw-r--r-- | astro/osmium/Makefile | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/astro/osmium/Makefile b/astro/osmium/Makefile index b2be44932d05..1d0658898280 100644 --- a/astro/osmium/Makefile +++ b/astro/osmium/Makefile @@ -12,12 +12,12 @@ COMMENT= C++/Javascript framework for working with OSM files LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual -LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal \ - boost_regex:${PORTSDIR}/devel/boost-libs \ - sqlite3:${PORTSDIR}/databases/sqlite3 \ - expat:${PORTSDIR}/textproc/expat2 \ - geos:${PORTSDIR}/graphics/geos \ - protobuf:${PORTSDIR}/devel/protobuf +LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal \ + libboost_regex.so:${PORTSDIR}/devel/boost-libs \ + libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ + libexpat.so:${PORTSDIR}/textproc/expat2 \ + libgeos.so:${PORTSDIR}/graphics/geos \ + libprotobuf.so:${PORTSDIR}/devel/protobuf BUILD_DEPENDS= google-sparsehash>=2.0.2:${PORTSDIR}/devel/google-sparsehash RUN_DEPENDS= google-sparsehash>=2.0.2:${PORTSDIR}/devel/google-sparsehash @@ -29,7 +29,6 @@ GH_COMMIT= 1a5bb26 CXXFLAGS+= -I${LOCALBASE}/include \ -L${LOCALBASE}/lib -NO_STAGE= yes PORTDOCS= * OPTIONS_DEFINE= JAVASCRIPT DOXYGEN DOCS @@ -39,9 +38,9 @@ JAVASCRIPT_DESC=Enable javascript support .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MJAVASCRIPT} -LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8 \ - shp:${PORTSDIR}/devel/shapelib \ - icuuc:${PORTSDIR}/devel/icu +LIB_DEPENDS+= libv8.so:${PORTSDIR}/lang/v8 \ + libshp.so:${PORTSDIR}/devel/shapelib \ + libicuuc.so:${PORTSDIR}/devel/icu .endif .if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} @@ -61,15 +60,12 @@ regression-test: do-install: cd ${WRKSRC}/include && ${COPYTREE_SHARE} '${PORTNAME} ${PORTNAME}.hpp' \ - ${PREFIX}/include/ -.if ${PORT_OPTIONS:MDOCS} -post-install: - ${MKDIR} ${DOCSDIR} + ${STAGEDIR}${PREFIX}/include/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} .if ${PORT_OPTIONS:MDOXYGEN} - cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR}/ + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}/ .endif ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/THANKS \ - ${WRKSRC}/NOTES_FOR_DEVELOPERS ${DOCSDIR}/ -.endif + ${WRKSRC}/NOTES_FOR_DEVELOPERS ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk> |