aboutsummaryrefslogtreecommitdiffstats
path: root/java/java-getopt/Makefile
blob: 0d4d64cd4260cf475dc3dbd24c92912b3cc9b565 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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

PLIST_FILES=    share/java/classes/getopt.jar
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>