aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-02-01 13:01:24 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-02-01 13:01:24 +0000
commitcc4b462793dfdf6756979c9536fab36947fd96a2 (patch)
treecb62f494cbe66c1e40a622bb4fe84dd8b6e2ac95 /archivers
parent53566686ec4e1c4d6dcc746db1024343170c491d (diff)
downloadports-cc4b462793dfdf6756979c9536fab36947fd96a2.tar.gz
ports-cc4b462793dfdf6756979c9536fab36947fd96a2.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/snappy-java/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/archivers/snappy-java/Makefile b/archivers/snappy-java/Makefile
index af92c7f47b6e..48995aa4a421 100644
--- a/archivers/snappy-java/Makefile
+++ b/archivers/snappy-java/Makefile
@@ -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>