- Support staging

- This port requires gcc
This commit is contained in:
Emanuel Haupt 2014-02-20 14:44:16 +00:00
parent f3dec952eb
commit cfe1c7f919
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345239

View File

@ -9,27 +9,23 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Java program analyzer and checker
USE_GCC= yes
PLIST_FILES= bin/jlint \
bin/jlint.sh \
bin/antic
.if !defined(NOPORTDOCS)
PORTDOCS= manual.pdf
.endif
NO_STAGE= yes
.include <bsd.port.pre.mk>
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '1s,/bin/bash,/bin/sh,' ${WRKSRC}/jlint.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jlint ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/antic ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/jlint.sh ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/jlint ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/antic ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/jlint.sh ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manual.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>