svn commit: r331935 - head/java/java-getopt
Alex Dupre
ale at FreeBSD.org
Tue Oct 29 08:57:51 UTC 2013
Author: ale
Date: Tue Oct 29 08:57:50 2013
New Revision: 331935
URL: http://svnweb.freebsd.org/changeset/ports/331935
Log:
Update to 1.0.14 release and much more.
Modified:
head/java/java-getopt/Makefile
head/java/java-getopt/distinfo
head/java/java-getopt/pkg-descr
Modified: head/java/java-getopt/Makefile
==============================================================================
--- head/java/java-getopt/Makefile Tue Oct 29 08:15:05 2013 (r331934)
+++ head/java/java-getopt/Makefile Tue Oct 29 08:57:50 2013 (r331935)
@@ -1,17 +1,18 @@
# Created by: ijliao
# $FreeBSD$
-PORTNAME= getopt
-PORTVERSION= 1.0.13
-PORTREVISION= 4
+PORTNAME= java-getopt
+PORTVERSION= 1.0.14
CATEGORIES= java devel
-MASTER_SITES= http://www.urbanophile.com/~arenn/hacking/getopt/
-PKGNAMEPREFIX= java-
-DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+MASTER_SITES= http://www.urbanophile.com/arenn/hacking/getopt/
MAINTAINER= ports at FreeBSD.org
COMMENT= Java version of GNU getopt family functions
+LICENSE= GPLv2
+
+OPTIONS_DEFINE= DOCS
+
USE_JAVA= yes
USE_ANT= yes
ALL_TARGET= jar
@@ -19,26 +20,34 @@ ALL_TARGET= jar
NO_WRKSUBDIR= yes
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
-.if !defined(NOPORTDOCS)
+
+# hack to be removed when included in bsd.java.mk
+DESTDIRNAME= -Ddestdir
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
OTHERDOCS= COPYING.LIB ChangeLog README
PORTDOCS= api ${OTHERDOCS}
ALL_TARGET+= javadoc
.endif
-NO_STAGE= yes
post-extract:
@${CP} ${WRKSRC}/gnu/getopt/buildx.xml ${WRKSRC}/build.xml
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
- @${INSTALL_DATA} ${WRKSRC}/build/lib/gnu.getopt.jar ${JAVAJARDIR}/${PORTNAME}.jar
+ @${INSTALL_DATA} ${WRKSRC}/build/lib/gnu.getopt.jar \
+ ${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [ DONE ]"
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
- @${MKDIR} ${DOCSDIR}/api
+ @${MKDIR} ${STAGEDIR}/${DOCSDIR}/api
@cd ${WRKSRC}/build/ && ${FIND} api \
- | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
- @${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/gnu/getopt/,} ${DOCSDIR}/
+ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} \
+ ${STAGEDIR}/${DOCSDIR} > /dev/null 2>&1
+ @${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/gnu/getopt/,} \
+ ${STAGEDIR}/${DOCSDIR}/
@${ECHO_MSG} " [ DONE ]"
.endif
Modified: head/java/java-getopt/distinfo
==============================================================================
--- head/java/java-getopt/distinfo Tue Oct 29 08:15:05 2013 (r331934)
+++ head/java/java-getopt/distinfo Tue Oct 29 08:57:50 2013 (r331935)
@@ -1,2 +1,2 @@
-SHA256 (java-getopt-1.0.13.tar.gz) = 106edfea5056112bc88bd3691b6b145d6f50aa3e8ad0bf0b4f23fffcf2c45975
-SIZE (java-getopt-1.0.13.tar.gz) = 45759
+SHA256 (java-getopt-1.0.14.tar.gz) = ad0d5cd146d676a3ac0ef4bf6a292eb7f79d32d0cb4f202fa7e3d43dcb52d98e
+SIZE (java-getopt-1.0.14.tar.gz) = 45561
Modified: head/java/java-getopt/pkg-descr
==============================================================================
--- head/java/java-getopt/pkg-descr Tue Oct 29 08:15:05 2013 (r331934)
+++ head/java/java-getopt/pkg-descr Tue Oct 29 08:57:50 2013 (r331935)
@@ -2,4 +2,4 @@ This is a Java port of GNU getopt, a cla
passed to programs. It is based on the C getopt() functions in glibc 2.0.6 and
should parse options in a 100% compatible manner.
-WWW: http://www.urbanophile.com/~arenn/hacking/download.html#getopt
+WWW: http://www.urbanophile.com/arenn/hacking/download.html#getopt
More information about the svn-ports-all
mailing list