diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-10 09:00:49 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-10 09:00:49 +0000 |
commit | 9968d8e116497e109c81b670fbcafb70e5eca6c1 (patch) | |
tree | 415f64de8c961aaaacce92893ee891ff423e445d /java/jlint | |
parent | 66b7c773b31d989aa6e87ad5f0950dd5fc2adfad (diff) |
- Add LICENSE
- Switch to options helpers
- Regenerate patches
Notes
Notes:
svn path=/head/; revision=428273
Diffstat (limited to 'java/jlint')
-rw-r--r-- | java/jlint/Makefile | 7 | ||||
-rw-r--r-- | java/jlint/files/patch-Makefile | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/java/jlint/Makefile b/java/jlint/Makefile index da770378bc38..f30033ca24c7 100644 --- a/java/jlint/Makefile +++ b/java/jlint/Makefile @@ -10,6 +10,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Java program analyzer and checker +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USE_GCC= yes PLIST_FILES= bin/jlint \ @@ -26,7 +29,9 @@ do-install: ${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} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manual.pdf ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/java/jlint/files/patch-Makefile b/java/jlint/files/patch-Makefile index 6e31a5feacf3..5181e2a85f2f 100644 --- a/java/jlint/files/patch-Makefile +++ b/java/jlint/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Wed Jan 14 17:23:41 2004 -+++ Makefile Thu Oct 28 14:17:10 2004 +--- Makefile.orig 2011-01-11 02:35:54 UTC ++++ Makefile @@ -3,8 +3,8 @@ # Makefile for Unix and GNU/Linux with gcc/g++ compiler # Edit here: @@ -11,7 +11,7 @@ # Hints: # if you use egcs-2.90.* version of GCC please add option -fno-exceptions -@@ -20,7 +20,7 @@ +@@ -20,7 +20,7 @@ CPP=g++ # Optimized version |