From cfe1c7f9191577b5b72a2e1ffb43cc76b376fdda Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 20 Feb 2014 14:44:16 +0000 Subject: [PATCH] - Support staging - This port requires gcc --- java/jlint/Makefile | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/java/jlint/Makefile b/java/jlint/Makefile index 1c0588e7fb60..5ed90176917b 100644 --- a/java/jlint/Makefile +++ b/java/jlint/Makefile @@ -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 +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 +.include