Stagify.
This commit is contained in:
parent
187ba4cac8
commit
78f3b0a922
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353946
@ -10,9 +10,11 @@ DISTFILES= ${PORTNAME}-distribution-${PORTVERSION}-bin${EXTRACT_SUFX}
|
||||
MAINTAINER= ale@FreeBSD.org
|
||||
COMMENT= A simple library to serialize Java objects to XML
|
||||
|
||||
LICENSE= BSD
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USES= zip
|
||||
USE_JAVA= yes
|
||||
NO_BUILD= yes
|
||||
@ -21,15 +23,17 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
||||
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
||||
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar \
|
||||
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
||||
@${ECHO_MSG} " [ DONE ]"
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
|
||||
@${ECHO_MSG} " [ DONE ]"
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user