summaryrefslogtreecommitdiff
path: root/lang/classpath
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-03-28 20:32:35 +0000
committerjmmv <jmmv>2004-03-28 20:32:35 +0000
commite3171a1b4c5f1f2b804cf802b59f7ae7e38a62aa (patch)
tree148341f765249cadd8e3f9b4333097898552e76c /lang/classpath
parente282e6564c7be8ff673ebb1e0808d32f9a7633f9 (diff)
downloadpkgsrc-e3171a1b4c5f1f2b804cf802b59f7ae7e38a62aa.tar.gz
Disable GTK support and split the Makefile to aid with the addition of the
new classpath-gui package. Bump PKGREVISION to 1.
Diffstat (limited to 'lang/classpath')
-rw-r--r--lang/classpath/Makefile25
-rw-r--r--lang/classpath/Makefile.common20
2 files changed, 25 insertions, 20 deletions
diff --git a/lang/classpath/Makefile b/lang/classpath/Makefile
index 587ab39b70f..c987de13ab1 100644
--- a/lang/classpath/Makefile
+++ b/lang/classpath/Makefile
@@ -1,28 +1,13 @@
-# $NetBSD: Makefile,v 1.5 2004/03/07 21:31:09 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2004/03/28 20:32:35 jmmv Exp $
-DISTNAME= classpath-0.07
-CATEGORIES= devel
-MASTER_SITES= ftp://alpha.gnu.org/gnu/classpath/
+.include "Makefile.common"
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.gnu.org/software/classpath
-COMMENT= Class libraries for Java VM
+PKGREVISION= 1
-DEPENDS+= jikes>=1.18:../../lang/jikes
+BUILD_DEPENDS+= zip>=2.3:../../archivers/zip
-GNU_CONFIGURE= yes
INFO_FILES= hacking.info vmintegration.info
-USE_BUILDLINK3= yes
-USE_GNU_TOOLS+= make
-USE_LIBTOOL= yes
-CONFIGURE_ARGS+= --with-jikes
+CONFIGURE_ARGS+= --disable-gtk-peer
-BUILDLINK_FILES.libart2+= bin/libart2-config
-BUILDLINK_TRANSFORM.libart2+= -e 's|/libart2-config|/libart-config|g'
-
-.include "../../graphics/libart2/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/pkgconfig/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/classpath/Makefile.common b/lang/classpath/Makefile.common
new file mode 100644
index 00000000000..12f86faa73e
--- /dev/null
+++ b/lang/classpath/Makefile.common
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.common,v 1.1 2004/03/28 20:32:35 jmmv Exp $
+
+DISTNAME= classpath-0.07
+CATEGORIES= devel
+MASTER_SITES= ftp://alpha.gnu.org/gnu/classpath/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/classpath
+COMMENT= Class libraries for Java VM
+
+DEPENDS+= jikes>=1.18:../../lang/jikes
+
+DISTINFO_FILE= ${.CURDIR}/../../lang/classpath/distinfo
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
+
+CONFIGURE_ARGS+= --with-jikes