1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

1: Stagify.

2: switch to options helper.

Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-06-27 03:52:48 +00:00
parent 6e89388dcb
commit 55e8d71d69
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359448
2 changed files with 10 additions and 12 deletions

View File

@ -13,27 +13,25 @@ COMMENT= JTOpen is a Java library to access OS/400 or i5/OS system
USES= zip
NO_WRKSUBDIR= yes
USE_JAVA= 1.4+
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
PORTSDOCS= changes.html license.html readme.html
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
do-install:
.for i in ${JAR_FILES}
${INSTALL_DATA} ${WRKSRC}/lib/${i} ${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/lib/${i} ${STAGEDIR}${JAVAJARDIR}
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for d in ${DOC_FILES}
${INSTALL_MAN} ${WRKSRC}/${d} ${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for d in ${PORTSDOCS}
${INSTALL_MAN} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -8,4 +8,4 @@ and i5/OS data and resources.
The Toolbox does not require additional client support over and
above what is provided by the Java Virtual Machine and TCP/IP.
WWW: http://jt400.sourceforge.net/
WWW: http://jt400.sourceforge.net/