diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-20 22:44:16 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-20 22:44:16 +0800 |
commit | f72c5abd7daa60a44d511e75fdb72d350d352f1f (patch) | |
tree | 7d80547bcc8371a80a6912c9eefa173b50e4d263 /java/jlint | |
parent | 0600d674e2710c8f8a59f3108d8d9ee945b17065 (diff) | |
download | freebsd-ports-gnome-f72c5abd7daa60a44d511e75fdb72d350d352f1f.tar.gz freebsd-ports-gnome-f72c5abd7daa60a44d511e75fdb72d350d352f1f.tar.zst freebsd-ports-gnome-f72c5abd7daa60a44d511e75fdb72d350d352f1f.zip |
- Support staging
- This port requires gcc
Diffstat (limited to 'java/jlint')
-rw-r--r-- | java/jlint/Makefile | 24 |
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> |