mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add staging support.
This commit is contained in:
parent
e94ff09d22
commit
82249b2135
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354042
@ -23,16 +23,11 @@ PORTDOCS= *
|
||||
JARFILE= ${PORTNAME}.jar
|
||||
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${JARFILE}
|
||||
@${ECHO_MSG} " [ DONE ]"
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${ECHO_MSG} -n ">> Installing documentation..."
|
||||
@cd ${WRKSRC}/apidocs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
|
||||
@cd ${WRKSRC}/apidocs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
||||
@${ECHO_MSG} " [ DONE ]"
|
||||
cd ${WRKSRC}/apidocs && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||
cd ${WRKSRC}/apidocs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user