diff options
author | agc <agc@pkgsrc.org> | 2001-10-17 12:32:17 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-10-17 12:32:17 +0000 |
commit | 810a8d516a5060d7811ca2dc9634003bced72643 (patch) | |
tree | 56a3cb873bed4a4daa341cbe32b6fcad2ecb63b3 /devel/javadeps | |
parent | 9cc387cf7e51ef38ed7027bf1a293efe27c93677 (diff) | |
download | pkgsrc-810a8d516a5060d7811ca2dc9634003bced72643.tar.gz |
Initial import of javadeps-1.1 into the NetBSD Packages Collection.
JavaDeps - Automatic Dependency Tracking for Java
Tracking dependencies amongst a group of source files is always a chore.
With Java it's even worse: source files may be mutually-dependent, and
make doesn't deal with this situation at all!
JavaDeps is a tool to generate dependency rules for Java sources, inspired
by the "-MM" flag of gcc. This program analyzes a set of java source
files, and outputs their dependencies, along with makefile rules to build
the resulting classes.
Provided in PR 14258 by Ben Wong (ben@wongs.net), munged around slightly
by myself.
Diffstat (limited to 'devel/javadeps')
-rw-r--r-- | devel/javadeps/Makefile | 27 | ||||
-rw-r--r-- | devel/javadeps/distinfo | 5 | ||||
-rw-r--r-- | devel/javadeps/patches/patch-aa | 25 | ||||
-rw-r--r-- | devel/javadeps/pkg/DESCR | 10 | ||||
-rw-r--r-- | devel/javadeps/pkg/PLIST | 10 |
5 files changed, 77 insertions, 0 deletions
diff --git a/devel/javadeps/Makefile b/devel/javadeps/Makefile new file mode 100644 index 00000000000..ddd06c3c835 --- /dev/null +++ b/devel/javadeps/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/17 12:32:17 agc Exp $ +# + +DISTNAME= javadeps-1.1 +CATEGORIES= devel +MASTER_SITES= http://www.vet.com.au/java/javadeps/ +EXTRACT_SUFX= .zip + +MAINTAINER= ben@wongs.net +HOMEPAGE= http://www.vet.com.au/java/javadeps/ +COMMENT= Automatic dependency tracking for Java + +DEPENDS= sun-jdk-[0-9]*:../../lang/sun-jdk13 + +WRKSRC= ${WRKDIR}/JavaDeps-1.1 + +NO_BUILD= yes + +do-install: + ${CP} ${WRKSRC}/jdeps ${PREFIX}/bin + ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/jdeps + ${CP} ${WRKSRC}/jdeps.jar ${PREFIX}/share/jdeps/jdeps.jar + ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/doc/jdeps + cd ${WRKSRC}/doc; ${PAX} -rwpe . ${PREFIX}/share/doc/jdeps + ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/jdeps ${PREFIX}/share/doc/jdeps + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/javadeps/distinfo b/devel/javadeps/distinfo new file mode 100644 index 00000000000..bf3683a90e3 --- /dev/null +++ b/devel/javadeps/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/17 12:32:17 agc Exp $ + +SHA1 (javadeps-1.1.zip) = 7ded1f1a0ec5d8bc7c1c6cf78f252cffc22025fb +Size (javadeps-1.1.zip) = 146544 bytes +SHA1 (patch-aa) = 94b21c396d5a4ae30135fc0c13be3ef5e57cdd60 diff --git a/devel/javadeps/patches/patch-aa b/devel/javadeps/patches/patch-aa new file mode 100644 index 00000000000..9ef5ca495e7 --- /dev/null +++ b/devel/javadeps/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/17 12:32:17 agc Exp $ + +--- jdeps.orig Sun May 17 00:49:57 1998 ++++ jdeps +@@ -5,12 +5,15 @@ + # use *forward* slashes in the pathnames below (for jarFile and java) -- even + # if you are using win95. + +-# Change the value after the equals sign to the full path of the jar file. +-jarFile=jdeps.jar ++# The full path of the jar file. ++jarFile=/usr/pkg/share/jdeps/jdeps.jar + +-# Change the value after the equals sign to the full pathname of your java +-# binary, if it is not on your PATH. +-java=java ++# Check if java is in the user's PATH. If not, guess /usr/pkg/java/bin. ++if type java 1>/dev/null 2>&1; then ++ java=java ++else ++ java=/usr/pkg/java/bin/java ++fi + + # For win95, all kinds of weird things happen with make & bash if + # the directory separator is *not* a double-backslash. diff --git a/devel/javadeps/pkg/DESCR b/devel/javadeps/pkg/DESCR new file mode 100644 index 00000000000..6483e6ce6b7 --- /dev/null +++ b/devel/javadeps/pkg/DESCR @@ -0,0 +1,10 @@ +JavaDeps - Automatic Dependency Tracking for Java + +Tracking dependencies amongst a group of source files is always a chore. +With Java it's even worse: source files may be mutually-dependent, and +make doesn't deal with this situation at all! + +JavaDeps is a tool to generate dependency rules for Java sources, inspired +by the "-MM" flag of gcc. This program analyzes a set of java source +files, and outputs their dependencies, along with makefile rules to build +the resulting classes. diff --git a/devel/javadeps/pkg/PLIST b/devel/javadeps/pkg/PLIST new file mode 100644 index 00000000000..f470cc1e647 --- /dev/null +++ b/devel/javadeps/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/17 12:32:17 agc Exp $ +bin/jdeps +share/jdeps/jdeps.jar +@dirrm share/jdeps +share/doc/jdeps/grammar-mods +share/doc/jdeps/native.html +share/doc/jdeps/usage.html +share/doc/jdeps/welcome.html +share/doc/jdeps/win95.html +@dirrm share/doc/jdeps |