aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/snappy-java
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-02-01 21:01:24 +0800
committerpawel <pawel@FreeBSD.org>2014-02-01 21:01:24 +0800
commit3b3a661a624750f371216b0e652249eade838b54 (patch)
treecb62f494cbe66c1e40a622bb4fe84dd8b6e2ac95 /archivers/snappy-java
parent2f73bf812a32cdd0027ce4411c503fc9f43c03eb (diff)
downloadfreebsd-ports-gnome-3b3a661a624750f371216b0e652249eade838b54.tar.gz
freebsd-ports-gnome-3b3a661a624750f371216b0e652249eade838b54.tar.zst
freebsd-ports-gnome-3b3a661a624750f371216b0e652249eade838b54.zip
- Install native library [1]
- Support staging PR: ports/185794 [1] Submitted by: Henry Hu <henry.hu.sh@gmail.com>
Diffstat (limited to 'archivers/snappy-java')
-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>