1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add staging support

- Convert to new options framework
This commit is contained in:
Pawel Pekala 2014-05-31 13:46:04 +00:00
parent e91eb32c49
commit b39633f69e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355970

View File

@ -15,20 +15,17 @@ USES= zip
USE_JAVA= yes
WRKSRC= ${WRKDIR}/JCCKit
NO_BUILD= yes
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${JAVAJARDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in LICENSE.txt README.html docs
${CP} -R ${WRKSRC}/${file} ${DOCSDIR}
${CP} -R ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>