aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2013-02-14 02:37:58 +0800
committerlippe <lippe@FreeBSD.org>2013-02-14 02:37:58 +0800
commit024e8eb1235b426b7649004ed4667ddb16a5c73e (patch)
tree751eca6d076f170e25a8dd69607454900b15f45d /archivers
parent0a80609bbc0d3d0abd0d2ec719b42107af02bd81 (diff)
downloadfreebsd-ports-gnome-024e8eb1235b426b7649004ed4667ddb16a5c73e.tar.gz
freebsd-ports-gnome-024e8eb1235b426b7649004ed4667ddb16a5c73e.tar.zst
freebsd-ports-gnome-024e8eb1235b426b7649004ed4667ddb16a5c73e.zip
- Update to 1.1.1
- Pass maintainership to submitter PR: ports/176070 Submitted by: Danilo Egea Gondolfo <danilogondolfo@gmail.com>
Diffstat (limited to 'archivers')
-rw-r--r--archivers/jzlib/Makefile22
-rw-r--r--archivers/jzlib/distinfo4
2 files changed, 16 insertions, 10 deletions
diff --git a/archivers/jzlib/Makefile b/archivers/jzlib/Makefile
index e09a83b5e415..99a58105cd41 100644
--- a/archivers/jzlib/Makefile
+++ b/archivers/jzlib/Makefile
@@ -2,13 +2,14 @@
# $FreeBSD$
PORTNAME= jzlib
-PORTVERSION= 1.1.0
+PORTVERSION= 1.1.1
CATEGORIES= archivers java
MASTER_SITES= http://www.jcraft.com/jzlib/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danilogondolfo@gmail.com
COMMENT= Reimplementation of zlib in pure Java
+USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
@@ -20,6 +21,8 @@ DOC_FILES= \
README
PORTDOCS= ${DOC_FILES}
+OPTIONS_DEFINE= DOCS EXAMPLES
+
EXAMPLE_FILES= \
README \
test_deflate_inflate.java \
@@ -32,14 +35,15 @@ EXAMPLE_FILES= \
PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}.jar
-.for file in ${EXAMPLE_FILES}
-PLIST_FILES+= %%EXAMPLESDIR%%/${file}
-.endfor
+.include <bsd.port.options.mk>
-PLIST_DIRS+= \
- %%EXAMPLESDIR%%
+.if ${PORT_OPTIONS:MEXAMPLES}
+. for file in ${EXAMPLE_FILES}
+PLIST_FILES+= %%EXAMPLESDIR%%/${file}
+. endfor
+PLIST_DIRS+= %%EXAMPLESDIR%%
+.endif
-.include <bsd.port.options.mk>
do-build:
@cd ${WRKSRC}/src/main/java && ${FIND} com -name "*.java" | \
${XARGS} -n 10 -x \
@@ -57,8 +61,10 @@ do-install:
. endfor
.endif
# examples
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR}
+.endif
# jar
${INSTALL_DATA} ${JAR_FILE} ${JAVAJARDIR}/${PORTNAME}.jar
diff --git a/archivers/jzlib/distinfo b/archivers/jzlib/distinfo
index 45fc4f31a9ce..cd1156a1bba6 100644
--- a/archivers/jzlib/distinfo
+++ b/archivers/jzlib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (jzlib-1.1.0.tar.gz) = c8f01bc83ff96dbbf98a3e302feb54df3880400e3dd48082a30c4e05ec206884
-SIZE (jzlib-1.1.0.tar.gz) = 62557
+SHA256 (jzlib-1.1.1.zip) = c3f4abc468febeb01e38c4916249d5c241488a25eed6f762bf42f66315979f58
+SIZE (jzlib-1.1.1.zip) = 105191