aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-12-12 17:00:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-12-12 17:00:32 +0800
commit51f1584f1f69262ff4f2fee0e667efd99762b05f (patch)
tree85ed735b9a6a92b53d1d4dc02305bcddb05511ad /archivers
parent22c7263afe8a4ea9425302b76e920dde72495467 (diff)
downloadfreebsd-ports-gnome-51f1584f1f69262ff4f2fee0e667efd99762b05f.tar.gz
freebsd-ports-gnome-51f1584f1f69262ff4f2fee0e667efd99762b05f.tar.zst
freebsd-ports-gnome-51f1584f1f69262ff4f2fee0e667efd99762b05f.zip
- Add LICENSE
- Add NO_ARCH - Switch to options helpers - Unsilence installation commands Approved by: portmgr blanket
Diffstat (limited to 'archivers')
-rw-r--r--archivers/jzlib/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/archivers/jzlib/Makefile b/archivers/jzlib/Makefile
index 15ee33f4c0bb..8e3b77c2a6d3 100644
--- a/archivers/jzlib/Makefile
+++ b/archivers/jzlib/Makefile
@@ -9,9 +9,13 @@ MASTER_SITES= http://www.jcraft.com/jzlib/
MAINTAINER= danilo@FreeBSD.org
COMMENT= Reimplementation of zlib in pure Java
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
+NO_ARCH= yes
JAR_FILE= ${WRKSRC}/src/main/java/${PORTNAME}.jar
@@ -26,12 +30,16 @@ do-build:
${JAR} -cf ${PORTNAME}.jar
do-install:
+ ${INSTALL_DATA} ${JAR_FILE} ${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
.for file in ChangeLog LICENSE.txt README
- @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}
.endfor
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/* ${STAGEDIR}/${EXAMPLESDIR}
- ${INSTALL_DATA} ${JAR_FILE} ${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar
.include <bsd.port.mk>