add java-getopt 1.0.9

Java version of GNU getopt family functions
This commit is contained in:
Ying-Chieh Liao 2003-04-07 08:34:20 +00:00
parent d67e115ebf
commit d58ff756d4
5 changed files with 40 additions and 0 deletions

View file

@ -27,6 +27,7 @@
SUBDIR += janosvm
SUBDIR += java-checkstyle
SUBDIR += java-cup
SUBDIR += java-getopt
SUBDIR += java-tutorial
SUBDIR += javamail
SUBDIR += javavmwrapper

31
java/java-getopt/Makefile Normal file
View file

@ -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>

View file

@ -0,0 +1 @@
MD5 (java-getopt-1.0.9.jar) = 6d4cd6368c3407f0f7274ec4cbfc677e

View file

@ -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

View file

@ -0,0 +1,2 @@
share/java/classes/getopt.jar
@unexec rmdir %D/share/java/classes 2>/dev/null || true