Convert to STAGE.

This commit is contained in:
Joe Marcus Clarke 2014-06-08 06:23:20 +00:00
parent b6a1b5e252
commit 76a1a4c201
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356980

View file

@ -17,17 +17,20 @@ MAKE_ENV= JAVAC="${JAVAC}" JAR="${JAR}"
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= confregdecode
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/confregdecode ${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/confregdecode ${STAGEDIR}${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in README.txt ConfregDecode.html
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif