46f312eaef
- Adjust java.port.mk and cmake to use 1.7 - Adjust jdk/1.7 for pkg_add upgrades okay sthen@, jasper@, ajacoutot@
31 lines
686 B
Makefile
31 lines
686 B
Makefile
# $OpenBSD: Makefile,v 1.6 2014/05/07 15:42:16 kurt Exp $
|
|
|
|
COMMENT= Java port of GNU getopt family functions
|
|
|
|
DISTNAME= java-getopt-1.0.13
|
|
REVISION= 3
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.urbanophile.com/arenn/hacking/download.html
|
|
|
|
# LGPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE:=/../getopt/}
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
MODULES= java
|
|
MODJAVA_VER= 1.6+
|
|
MODJAVA_BUILD= ant
|
|
|
|
post-extract:
|
|
cp ${WRKSRC}/gnu/getopt/buildx.xml ${WRKSRC}/build.xml
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${MODJAVA_JAR_DIR} ${MODJAVA_DOC_DIR}/getopt/
|
|
${INSTALL_DATA} ${WRKSRC}/build/lib/gnu.getopt.jar ${MODJAVA_JAR_DIR}
|
|
cp -r ${WRKSRC}/build/api/* ${MODJAVA_DOC_DIR}/getopt/
|
|
|
|
.include <bsd.port.mk>
|