The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
36 lines
936 B
Makefile
36 lines
936 B
Makefile
PORTNAME= jtopen
|
|
PORTVERSION= 6.2
|
|
CATEGORIES= sysutils java
|
|
MASTER_SITES= SF/jt400/JTOpen-full/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}
|
|
|
|
MAINTAINER= saper@saper.info
|
|
COMMENT= Java library to access OS/400 or i5/OS systems
|
|
WWW= https://jt400.sourceforge.net/
|
|
|
|
LICENSE= IBMPL10
|
|
LICENSE_NAME= IBM Public License 1.0
|
|
LICENSE_FILE= ${FILESDIR}/IBMPL10
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
USES= java zip
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
JAR_FILES= composer.jar jt400.jar jt400Proxy.jar jt400Servlet.jar jui400.jar \
|
|
outputwriters.jar reportwriter.jar tes.jar uitools.jar util400.jar
|
|
DOC_FILES= changes.html license.html readme.html
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
.for i in ${JAR_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${i} ${STAGEDIR}${JAVAJARDIR}
|
|
.endfor
|
|
${MKDIR} ${STAGEDIR}/${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|