Date: Sat, 1 Feb 2014 13:01:25 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342131 - head/archivers/snappy-java Message-ID: <201402011301.s11D1PZj071891@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sat Feb 1 13:01:24 2014 New Revision: 342131 URL: http://svnweb.freebsd.org/changeset/ports/342131 QAT: https://qat.redports.org/buildarchive/r342131/ Log: - Install native library [1] - Support staging PR: ports/185794 [1] Submitted by: Henry Hu <henry.hu.sh@gmail.com> Modified: head/archivers/snappy-java/Makefile Modified: head/archivers/snappy-java/Makefile ============================================================================== --- head/archivers/snappy-java/Makefile Sat Feb 1 12:56:41 2014 (r342130) +++ head/archivers/snappy-java/Makefile Sat Feb 1 13:01:24 2014 (r342131) @@ -7,6 +7,7 @@ PORTNAME= snappy PORTVERSION= 1.0.4.1 +PORTREVISION= 1 CATEGORIES= archivers java MASTER_SITES= GITHUB:source1 \ http://snappy.googlecode.com/files/:source2 \ @@ -31,13 +32,13 @@ GH_TAGNAME= snappy-java-${PORTVERSION} GH_COMMIT= 487f82d USE_GITHUB= yes -NO_STAGE= yes USE_JAVA= yes JAVA_VERSION= 1.7 USES= gmake +USE_LDCONFIG= yes MAKE_ARGS+= Default_CXX=${CXX} -PLIST_FILES= %%JAVAJARDIR%%/snappy-java.jar +PLIST_FILES= %%JAVAJARDIR%%/snappy-java.jar lib/libsnappyjava.so post-patch-script: @${REINPLACE_CMD} -e 's|curl.*||g' \ @@ -54,6 +55,9 @@ do-build: pre-build ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} && ${LOCALBASE}/share/java/maven3/bin/mvn -Dmaven.repo.local=${WRKDIR}/repository --offline test do-install: - ${INSTALL_DATA} ${WRKSRC}/target/snappy-java-${PORTVERSION}.jar ${JAVAJARDIR}/snappy-java.jar + ${INSTALL_DATA} ${WRKSRC}/target/snappy-java-${PORTVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/snappy-java.jar + ${INSTALL_LIB} ${WRKSRC}/target/snappy-${PORTVERSION:R}-Default/libsnappyjava.so \ + ${STAGEDIR}${LOCALBASE}/lib .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402011301.s11D1PZj071891>