diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-04-07 16:34:20 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-04-07 16:34:20 +0800 |
commit | b35669979ca9c186dd28853fb118fc9b196f39ba (patch) | |
tree | e87a2911f888483f4738de7c11c9b46fc1db872e /java/java-getopt | |
parent | ab863a1c9ff52bf86d1c998111f291553459dec0 (diff) | |
download | freebsd-ports-gnome-b35669979ca9c186dd28853fb118fc9b196f39ba.tar.gz freebsd-ports-gnome-b35669979ca9c186dd28853fb118fc9b196f39ba.tar.zst freebsd-ports-gnome-b35669979ca9c186dd28853fb118fc9b196f39ba.zip |
add java-getopt 1.0.9
Java version of GNU getopt family functions
Diffstat (limited to 'java/java-getopt')
-rw-r--r-- | java/java-getopt/Makefile | 31 | ||||
-rw-r--r-- | java/java-getopt/distinfo | 1 | ||||
-rw-r--r-- | java/java-getopt/pkg-descr | 5 | ||||
-rw-r--r-- | java/java-getopt/pkg-plist | 2 |
4 files changed, 39 insertions, 0 deletions
diff --git a/java/java-getopt/Makefile b/java/java-getopt/Makefile new file mode 100644 index 000000000000..48b389a0963c --- /dev/null +++ b/java/java-getopt/Makefile @@ -0,0 +1,31 @@ +# ex:ts=8 +# Ports collection makefile for: java-getopt +# Date created: Apr 7, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= getopt +PORTVERSION= 1.0.9 +CATEGORIES= java +MASTER_SITES= ftp://ftp.urbanophile.com/pub/arenn/software/sources/ +PKGNAMEPREFIX= java- +DISTNAME= ${PKGNAME} +EXTRACT_SUFX= .jar + +MAINTAINER= ports@FreeBSD.org +COMMENT= Java version of GNU getopt family functions + +USE_JAVA= 1.1+ +NO_WRKSUBDIR= yes +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= # empty +EXTRACT_AFTER_ARGS= . +NO_BUILD= yes + +do-install: + @${MKDIR} ${JAVAJARDIR} + ${INSTALL_DATA} ${WRKSRC}/${PKGNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar + +.include <bsd.port.mk> diff --git a/java/java-getopt/distinfo b/java/java-getopt/distinfo new file mode 100644 index 000000000000..6442925f14bb --- /dev/null +++ b/java/java-getopt/distinfo @@ -0,0 +1 @@ +MD5 (java-getopt-1.0.9.jar) = 6d4cd6368c3407f0f7274ec4cbfc677e diff --git a/java/java-getopt/pkg-descr b/java/java-getopt/pkg-descr new file mode 100644 index 000000000000..f09b99f128f4 --- /dev/null +++ b/java/java-getopt/pkg-descr @@ -0,0 +1,5 @@ +This is a Java port of GNU getopt, a class for parsing command line arguments +passed to programs. It it 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 diff --git a/java/java-getopt/pkg-plist b/java/java-getopt/pkg-plist new file mode 100644 index 000000000000..76e605672aab --- /dev/null +++ b/java/java-getopt/pkg-plist @@ -0,0 +1,2 @@ +share/java/classes/getopt.jar +@unexec rmdir %D/share/java/classes 2>/dev/null || true |