aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-20 14:44:16 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-20 14:44:16 +0000
commitcfe1c7f9191577b5b72a2e1ffb43cc76b376fdda (patch)
tree7d80547bcc8371a80a6912c9eefa173b50e4d263 /java
parentf3dec952ebafb8339c1260c224fae1951deaa668 (diff)
downloadports-cfe1c7f9191577b5b72a2e1ffb43cc76b376fdda.tar.gz
ports-cfe1c7f9191577b5b72a2e1ffb43cc76b376fdda.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jlint/Makefile24
1 files changed, 10 insertions, 14 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 <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
-
-.include <bsd.port.post.mk>
+ ${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.mk>