ports/176070: archivers/jzlib update and maintainer change
Danilo Egêa Gondolfo
danilogondolfo at gmail.com
Tue Feb 12 14:20:01 UTC 2013
>Number: 176070
>Category: ports
>Synopsis: archivers/jzlib update and maintainer change
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 12 14:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Danilo Egêa Gondolfo
>Release: FreeBSD 9.1-RELEASE
>Organization:
Universidade Estadual de Maringá
>Environment:
FreeBSD projeto 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243752M: Sat Dec 1 13:35:03 BRST 2012 root at projeto:/usr/obj/usr/src/sys/PROJETO amd64
>Description:
archivers/jzlib update
Changes:
- Update from 1.1.0 to 1.1.1
- Options implemented
- Maintainer change
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 312117)
+++ Makefile (working copy)
@@ -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 at FreeBSD.org
+MAINTAINER= danilogondolfo at gmail.com
COMMENT= Reimplementation of zlib in pure Java
+USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
@@ -20,6 +21,8 @@
README
PORTDOCS= ${DOC_FILES}
+OPTIONS_DEFINE= DOCS EXAMPLES
+
EXAMPLE_FILES= \
README \
test_deflate_inflate.java \
@@ -32,14 +35,15 @@
PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}.jar
-.for file in ${EXAMPLE_FILES}
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+. for file in ${EXAMPLE_FILES}
PLIST_FILES+= %%EXAMPLESDIR%%/${file}
-.endfor
+. endfor
+PLIST_DIRS+= %%EXAMPLESDIR%%
+.endif
-PLIST_DIRS+= \
- %%EXAMPLESDIR%%
-
-.include <bsd.port.options.mk>
do-build:
@cd ${WRKSRC}/src/main/java && ${FIND} com -name "*.java" | \
${XARGS} -n 10 -x \
@@ -57,8 +61,10 @@
. endfor
.endif
# examples
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR}
+.endif
# jar
${INSTALL_DATA} ${JAR_FILE} ${JAVAJARDIR}/${PORTNAME}.jar
Index: distinfo
===================================================================
--- distinfo (revision 312117)
+++ distinfo (working copy)
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list