diff options
author | znerd <znerd@FreeBSD.org> | 2003-03-03 21:36:44 +0000 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2003-03-03 21:36:44 +0000 |
commit | 69eb318e59e8308d699106d4c76d9027aa36fbf0 (patch) | |
tree | f6b1d15c893f0002a9aa0ca94424c800e717a531 /java/jlint/Makefile | |
parent | 21a3c63056f7b42955d65c60de6258c8dc25a2f2 (diff) | |
download | FreeBSD-ports-69eb318e59e8308d699106d4c76d9027aa36fbf0.zip FreeBSD-ports-69eb318e59e8308d699106d4c76d9027aa36fbf0.tar.gz |
Fixes:
- unbreak with new gcc on -current ('using namespace std')
- CFLAGS/env police
- condense port's Makefile
- install additional shell script
- install documentation (honour NOPORTDOCS)
PR: 48464
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Tested on: -STABLE, -CURRENT
Diffstat (limited to 'java/jlint/Makefile')
-rw-r--r-- | java/jlint/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/java/jlint/Makefile b/java/jlint/Makefile index 4c6616f..c9fd070 100644 --- a/java/jlint/Makefile +++ b/java/jlint/Makefile @@ -13,15 +13,20 @@ MASTER_SITES= http://artho.com/jlint/ \ MAINTAINER= znerd@FreeBSD.org -PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} -TARGET_DIR?= ${PREFIX}/bin +USE_REINPLACE= YES .include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/jlint.sh + do-install: - ${MKDIR} ${TARGET_DIR} - ${CP} ${WRKSRC}/jlint ${TARGET_DIR} - ${CP} ${WRKSRC}/antic ${TARGET_DIR} - ${CHMOD} 755 ${TARGET_DIR}/jlint ${TARGET_DIR}/antic + ${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 ${WRKSRC}/manual.html ${DOCSDIR} +.endif .include <bsd.port.post.mk> |