2002-11-14 10:02:09 +01:00
|
|
|
PORTNAME= commons-cli
|
2017-03-14 09:53:21 +01:00
|
|
|
PORTVERSION= 1.4
|
2004-11-28 18:02:58 +01:00
|
|
|
CATEGORIES= java devel
|
2015-05-11 20:34:57 +02:00
|
|
|
MASTER_SITES= APACHE_COMMONS_BINARIES
|
2019-10-06 21:08:14 +02:00
|
|
|
PKGNAMEPREFIX= apache-
|
2010-12-12 16:07:56 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
|
2002-11-14 10:02:09 +01:00
|
|
|
|
2014-03-02 06:22:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Java library for command line arguments and options
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://commons.apache.org/proper/commons-cli/
|
2002-11-14 10:02:09 +01:00
|
|
|
|
2013-12-30 21:55:18 +01:00
|
|
|
LICENSE= APACHE20
|
2002-11-14 10:02:09 +01:00
|
|
|
|
2004-04-20 21:48:50 +02:00
|
|
|
USE_JAVA= yes
|
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}
|
2010-12-12 16:07:56 +01:00
|
|
|
PORTDOCS= *
|
2004-04-15 23:17:26 +02:00
|
|
|
|
2014-05-30 20:02:03 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2002-11-14 10:02:09 +01:00
|
|
|
do-install:
|
2014-05-30 20:02:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${JARFILE} \
|
|
|
|
${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
|
2017-03-14 09:53:21 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-05-30 20:02:03 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR})
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} LICENSE.txt NOTICE.txt \
|
|
|
|
RELEASE-NOTES.txt ${STAGEDIR}${DOCSDIR})
|
2002-11-14 10:02:09 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|