Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 01:15:51 +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: r330586 - head/astro/osmium
Message-ID:  <201310170115.r9H1FpaF010752@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Oct 17 01:15:50 2013
New Revision: 330586
URL: http://svnweb.freebsd.org/changeset/ports/330586

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax

Modified:
  head/astro/osmium/Makefile

Modified: head/astro/osmium/Makefile
==============================================================================
--- head/astro/osmium/Makefile	Thu Oct 17 01:15:05 2013	(r330585)
+++ head/astro/osmium/Makefile	Thu Oct 17 01:15:50 2013	(r330586)
@@ -12,12 +12,12 @@ COMMENT=	C++/Javascript framework for wo
 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 suppor
 .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>



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