diff --git a/misc/jlint/Makefile b/misc/jlint/Makefile new file mode 100644 index 00000000000..8590aa4ca74 --- /dev/null +++ b/misc/jlint/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/06/29 03:04:43 kevlo Exp $ + +COMMENT= "Java program analyzer and checker" + +VERSION= 2.2 +DISTNAME= jlint +PKGNAME= ${DISTNAME}-${VERSION} +CATEGORIES= misc +NEED_VERSION= 1.417 + +HOMEPAGE= http://artho.com/jlint/ + +MAINTAINER= Kevin Lo + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM=Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE} + +MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + INSTALL_DATA_DIR="${INSTALL_DATA_DIR}" \ + INSTALL_DATA="${INSTALL_DATA}" + +WRKDIST= ${WRKDIR}/${PKGNAME} + +.include diff --git a/misc/jlint/files/md5 b/misc/jlint/files/md5 new file mode 100644 index 00000000000..1b40293a915 --- /dev/null +++ b/misc/jlint/files/md5 @@ -0,0 +1,3 @@ +MD5 (jlint.tar.gz) = d830ce08227308d0c7bf5252826b7478 +RMD160 (jlint.tar.gz) = 6c0ca6e111746f01786ac41e86ff3b3d3010513c +SHA1 (jlint.tar.gz) = 792ef76a2dac6e942852217e7556d5b632c2990e diff --git a/misc/jlint/patches/patch-Makefile b/misc/jlint/patches/patch-Makefile new file mode 100644 index 00000000000..4dd055af534 --- /dev/null +++ b/misc/jlint/patches/patch-Makefile @@ -0,0 +1,18 @@ +--- Makefile.orig Thu Jun 28 09:42:55 2001 ++++ Makefile Fri Jun 29 10:08:52 2001 +@@ -65,10 +65,11 @@ + cd ..; rm -f jlint-$(VERSION).zip; zip -v jlint-$(VERSION).zip $(DISTFILES) `find jlint-$(VERSION)/jlintwin32 | grep -v CVS` + + install: +- cp jlint antic jlint.sh $(INSTALL_DIR) +- chmod 755 $(INSTALL_DIR)/antic +- chmod 755 $(INSTALL_DIR)/jlint +- chmod 755 $(INSTALL_DIR)/jlint.sh ++ $(INSTALL_PROGRAM) antic $(PREFIX)/bin ++ $(INSTALL_PROGRAM) jlint $(PREFIX)/bin ++ $(INSTALL_DATA_DIR) $(PREFIX)/share/doc/jlint ++ $(INSTALL_DATA) manual.html $(PREFIX)/share/doc/jlint ++ $(INSTALL_DATA) manual.pdf $(PREFIX)/share/doc/jlint + + + # --> automatically generated dependencies follow; do not remove this line. diff --git a/misc/jlint/pkg/DESCR b/misc/jlint/pkg/DESCR new file mode 100644 index 00000000000..2eaefbecd03 --- /dev/null +++ b/misc/jlint/pkg/DESCR @@ -0,0 +1,5 @@ +Jlint will check your Java code and find bugs, inconsistencies and +synchronization problems by doing data flow analysis and building a +lock graph. + +WWW: ${HOMEPAGE} diff --git a/misc/jlint/pkg/PLIST b/misc/jlint/pkg/PLIST new file mode 100644 index 00000000000..abc662edca0 --- /dev/null +++ b/misc/jlint/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/06/29 03:04:43 kevlo Exp $ +bin/antic +bin/jlint +share/doc/jlint/manual.html +share/doc/jlint/manual.pdf +@dirrm share/doc/jlint