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

Remove NOPORTDOCS.

This commit is contained in:
Adam Weinberger 2014-07-04 21:55:07 +00:00
parent de3a3bb13b
commit 166d0c8ad0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360667
2 changed files with 5 additions and 4 deletions

View File

@ -22,6 +22,9 @@ PLIST_SUB= JAR_DIR=${JAR_DIR}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
JAVAVM= ${LOCALBASE}/bin/java
JAR_DIR= ${JAVAJARDIR:S,^${PREFIX}/,,}/${PORTNAME}
JAR_FILE= frost.jar
@ -73,12 +76,10 @@ post-patch:
do-install:
# docs
.ifndef(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
# jars
@${MKDIR} ${STAGEDIR}${PREFIX}/${JAR_DIR}
.for jar in ${JAR_FILES}

View File

@ -18,6 +18,8 @@ NO_BUILD= yes
JAVAVM= ${LOCALBASE}/bin/java
OPTIONS_DEFINE= DOCS
DOC_FILES= AUTHORS COPYING COPYING.LIB NEWS README \
TODO
PORTDOCS= ${DOC_FILES}
@ -37,11 +39,9 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/xnap.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME:tl}.jar
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl}
.ifndef(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>