2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Ernst de Haan <znerd@FreeBSD.org>
|
2002-11-14 10:02:09 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= commons-cli
|
2010-12-12 16:07:56 +01:00
|
|
|
PORTVERSION= 1.2
|
2004-01-12 20:39:50 +01:00
|
|
|
PORTEPOCH= 1
|
2004-11-28 18:02:58 +01:00
|
|
|
CATEGORIES= java devel
|
2010-12-12 16:07:56 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_BINARIES}
|
2008-02-27 16:10:54 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
|
2002-11-14 10:02:09 +01:00
|
|
|
PKGNAMEPREFIX= jakarta-
|
2010-12-12 16:07:56 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
|
2002-11-14 10:02:09 +01:00
|
|
|
|
2004-12-03 02:01:33 +01:00
|
|
|
MAINTAINER= hq@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Java library for command line arguments and options
|
2002-11-14 10:02:09 +01:00
|
|
|
|
2012-01-09 16:41:08 +01:00
|
|
|
LICENSE= AL2
|
2002-11-14 10:02:09 +01:00
|
|
|
|
2004-04-20 21:48:50 +02:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2010-12-12 16:07:56 +01:00
|
|
|
NO_BUILD= yes
|
2004-11-28 18:02:58 +01:00
|
|
|
|
2002-11-14 10:18:51 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2002-11-14 10:02:09 +01:00
|
|
|
|
2010-12-12 16:07:56 +01:00
|
|
|
JARFILE= ${PORTNAME}-${PORTVERSION}.jar
|
2002-11-14 10:18:51 +01:00
|
|
|
DESTJARFILE= ${PORTNAME}.jar
|
2004-11-28 18:02:58 +01:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
|
2004-04-15 23:17:26 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2010-12-12 16:07:56 +01:00
|
|
|
PORTDOCS= *
|
|
|
|
DOC_FILES= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
2004-04-15 23:17:26 +02:00
|
|
|
.endif
|
|
|
|
|
2013-09-20 21:48:32 +02:00
|
|
|
NO_STAGE= yes
|
2002-11-14 10:02:09 +01:00
|
|
|
do-install:
|
2004-11-28 18:02:58 +01:00
|
|
|
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
|
2010-12-12 16:07:56 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
|
2004-11-28 18:02:58 +01:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-11-14 10:02:09 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-28 18:02:58 +01:00
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
2010-12-12 16:07:56 +01:00
|
|
|
@-${MKDIR} ${DOCSDIR}
|
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} apidocs ${DOCSDIR}
|
|
|
|
.for f in ${DOC_FILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
|
|
|
.endfor
|
2004-11-28 18:02:58 +01:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-11-14 10:02:09 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|