svn commit: r359448 - head/sysutils/jtopen
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Jun 27 03:52:49 UTC 2014
Author: vanilla
Date: Fri Jun 27 03:52:48 2014
New Revision: 359448
URL: http://svnweb.freebsd.org/changeset/ports/359448
QAT: https://qat.redports.org/buildarchive/r359448/
Log:
1: Stagify.
2: switch to options helper.
Approved by: portmgr@ (blanket approval)
Modified:
head/sysutils/jtopen/Makefile
head/sysutils/jtopen/pkg-descr
Modified: head/sysutils/jtopen/Makefile
==============================================================================
--- head/sysutils/jtopen/Makefile Fri Jun 27 03:51:05 2014 (r359447)
+++ head/sysutils/jtopen/Makefile Fri Jun 27 03:52:48 2014 (r359448)
@@ -13,27 +13,25 @@ COMMENT= JTOpen is a Java library to acc
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>
Modified: head/sysutils/jtopen/pkg-descr
==============================================================================
--- head/sysutils/jtopen/pkg-descr Fri Jun 27 03:51:05 2014 (r359447)
+++ head/sysutils/jtopen/pkg-descr Fri Jun 27 03:52:48 2014 (r359448)
@@ -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/
More information about the svn-ports-head
mailing list