forked from Lainports/freebsd-ports
add java-getopt 1.0.9
Java version of GNU getopt family functions
This commit is contained in:
parent
d67e115ebf
commit
d58ff756d4
5 changed files with 40 additions and 0 deletions
|
|
@ -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
31
java/java-getopt/Makefile
Normal 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>
|
||||
1
java/java-getopt/distinfo
Normal file
1
java/java-getopt/distinfo
Normal file
|
|
@ -0,0 +1 @@
|
|||
MD5 (java-getopt-1.0.9.jar) = 6d4cd6368c3407f0f7274ec4cbfc677e
|
||||
5
java/java-getopt/pkg-descr
Normal file
5
java/java-getopt/pkg-descr
Normal 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
|
||||
2
java/java-getopt/pkg-plist
Normal file
2
java/java-getopt/pkg-plist
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
share/java/classes/getopt.jar
|
||||
@unexec rmdir %D/share/java/classes 2>/dev/null || true
|
||||
Loading…
Add table
Reference in a new issue