mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
This commit is contained in:
parent
45e8e77ee9
commit
81e6b8052b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357179
@ -38,27 +38,26 @@ PORTDOCS= ${DOC_FILES} \
|
||||
PLIST_FILES= \
|
||||
%%JAVAJARDIR%%/${PORTNAME:tl}.jar
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-build:
|
||||
# use our build.xml
|
||||
@${CP} ${FILESDIR}/build.xml ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
# jar
|
||||
@${MKDIR} ${JAVAJARDIR}
|
||||
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/dist/lib/${PORTNAME:tl}.jar \
|
||||
${JAVAJARDIR}/
|
||||
${STAGEDIR}${JAVAJARDIR}/
|
||||
# docs
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
. for doc in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
. endfor
|
||||
@${MKDIR} ${DOCSDIR}/javadoc
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/javadoc
|
||||
# line taken from textproc/xerces-j maintained by hq@FreeBSD.org
|
||||
@cd ${JAVADOC_WRKSRC} && \
|
||||
${FIND} . -type d -exec ${MKDIR} "${DOCSDIR}/javadoc/{}" \; && \
|
||||
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/javadoc/{}" \;
|
||||
${FIND} . -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/javadoc/{}" \; && \
|
||||
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/javadoc/{}" \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user