diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-04-07 08:34:20 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-04-07 08:34:20 +0000 |
commit | d58ff756d48df4ed91a49408c0cd5cf6624b614f (patch) | |
tree | 68b9d879ac2dbc8359dd51da7a30f3ef266d144d /java/java-getopt | |
parent | net/openldap20 can't start with sample command line syntax in the startup scr... (diff) |
add java-getopt 1.0.9
Java version of GNU getopt family functions
Notes
Notes:
svn path=/head/; revision=78508
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 |