diff options
author | agc <agc@pkgsrc.org> | 1998-02-10 15:45:03 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-02-10 15:45:03 +0000 |
commit | 59dbfe516db84b047aebd5f28e591f9a9d38f53f (patch) | |
tree | 0139286bf30db00b70110951ded5ae4dbac27e0f /lang/guavac | |
parent | 121502bf743353ce351c1b7ee5e70c287f7c3f69 (diff) | |
download | pkgsrc-59dbfe516db84b047aebd5f28e591f9a9d38f53f.tar.gz |
Add guavac 1.0, a Java compiler, to the NetBSD packages collection.
This package was done by "Martin J. Laubach" <mjl@emsi.priv.at>, and
fixes PR pkg/4953.
Small modicications by me to:
(a) Get pre-formatted manual page handling right (although the page itself
says version 0.2.5, so it's not exactly up-to-date)
(b) Add NetBSD RCS Id to the PLIST.
(c) Don't install an empty info file, and remove it from the PLIST.
(d) Don't try to strip a script (gcok) on installation.
Diffstat (limited to 'lang/guavac')
-rw-r--r-- | lang/guavac/Makefile | 24 | ||||
-rw-r--r-- | lang/guavac/files/md5 | 1 | ||||
-rw-r--r-- | lang/guavac/patches/patch-aa | 39 | ||||
-rw-r--r-- | lang/guavac/pkg/COMMENT | 1 | ||||
-rw-r--r-- | lang/guavac/pkg/DESCR | 11 | ||||
-rw-r--r-- | lang/guavac/pkg/PLIST | 8 |
6 files changed, 84 insertions, 0 deletions
diff --git a/lang/guavac/Makefile b/lang/guavac/Makefile new file mode 100644 index 00000000000..e56ce88550a --- /dev/null +++ b/lang/guavac/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: guavac +# Version required: 1.0 +# Date created: 07-02-98 +# Whom: mjl@emsi.priv.at +# +# $NetBSD: Makefile,v 1.1 1998/02/10 15:45:03 agc Exp $ +# + +CATEGORIES= lang +DISTNAME= guavac-1.0 +MASTER_SITES= ftp://summit.stanford.edu/pub/guavac/ \ + ftp://ftp.Germany.EU.net/pub/programming/languages/java/guavac/ \ + ftp://sunsite.mff.cuni.cz/Languages/Java/guavac/ \ + ftp://sunsite.auc.dk/pub/languages/java/guavac/ \ + ftp://ftp.unicamp.br/pub/languages/java/guavac/ + +GNU_CONFIGURE= yes +MAN1= guavac.1 +CAT1= guavac.0 + +post-install: + ${MV} ${PREFIX}/man/cat1/guavac.man ${PREFIX}/man/cat1/guavac.0 + +.include <bsd.port.mk> diff --git a/lang/guavac/files/md5 b/lang/guavac/files/md5 new file mode 100644 index 00000000000..b8587cbc84c --- /dev/null +++ b/lang/guavac/files/md5 @@ -0,0 +1 @@ +MD5 (guavac-1.0.tar.gz) = d5456f8a90e66c5727e9a606b00fdfdd diff --git a/lang/guavac/patches/patch-aa b/lang/guavac/patches/patch-aa new file mode 100644 index 00000000000..172851bb2f9 --- /dev/null +++ b/lang/guavac/patches/patch-aa @@ -0,0 +1,39 @@ +--- doc/Makefile.in 1998/02/10 11:34:57 1.1 ++++ doc/Makefile.in 1998/02/10 11:35:41 +@@ -59,11 +59,11 @@ + else mv version.tmp $(srcdir)/version.texi; fi + date > $@ + +-install: all +- $(srcdir)/../mkinstalldirs $(infodir) +- cd $(srcdir) && for file in $(PRODUCT).info*; do \ +- $(INSTALL_DATA) $$file $(infodir)/$$file; \ +- done ++install: all; ++# $(srcdir)/../mkinstalldirs $(infodir) ++# cd $(srcdir) && for file in $(PRODUCT).info*; do \ ++# $(INSTALL_DATA) $$file $(infodir)/$$file; \ ++# done + + uninstall: + rm -f $(infodir)/$(PRODUCT).info* +--- checks/Makefile.in 1998/02/10 14:56:28 1.1 ++++ checks/Makefile.in 1998/02/10 14:56:45 +@@ -26,7 +26,7 @@ + + INSTALL = @INSTALL@ + INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_SCRIPT = ${INSTALL} -m 0755 + + prefix = @prefix@ + exec_prefix = @exec_prefix@ +@@ -39,7 +39,7 @@ + install: + $(srcdir)/../mkinstalldirs $(bindir) + cd $(srcdir) && for file in gcok; do \ +- $(INSTALL_PROGRAM) $$file $(bindir)/$$file; \ ++ $(INSTALL_SCRIPT) $$file $(bindir)/$$file; \ + done + + uninstall: diff --git a/lang/guavac/pkg/COMMENT b/lang/guavac/pkg/COMMENT new file mode 100644 index 00000000000..abf009b5fc2 --- /dev/null +++ b/lang/guavac/pkg/COMMENT @@ -0,0 +1 @@ +A free compiler for the Java language diff --git a/lang/guavac/pkg/DESCR b/lang/guavac/pkg/DESCR new file mode 100644 index 00000000000..92a97c174da --- /dev/null +++ b/lang/guavac/pkg/DESCR @@ -0,0 +1,11 @@ +Guavac is a compiler for the Java language, written by Effective Edge +Technologies and distributed under the Gnu Public License. You should feel +free to use, copy and modify it, based on the terms in the COPYING file +included in this distribution. +We are distributing guavac free of charge in the hopes that other people will +find it useful and possibly enhance its utility in turn. + +Guavac should produce correct bytecode for valid Java input, but you may +encounter some difficulties in compiling guavac itself, due inadequate +tools on some platforms. + diff --git a/lang/guavac/pkg/PLIST b/lang/guavac/pkg/PLIST new file mode 100644 index 00000000000..d37c92d9018 --- /dev/null +++ b/lang/guavac/pkg/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1 1998/02/10 15:45:12 agc Exp $ +bin/guavac +bin/guavad +bin/gcok +man/cat1/guavac.0 +man/man1/guavac.1 +share/guavac/classes.zip +@dirrm share/guavac |