summaryrefslogtreecommitdiff
path: root/lang/classpath
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-03-28 20:32:35 +0000
committerjmmv <jmmv@pkgsrc.org>2004-03-28 20:32:35 +0000
commita06fda69f9dbc3ce5ea0fced8cd6d7405874aaa6 (patch)
tree148341f765249cadd8e3f9b4333097898552e76c /lang/classpath
parentd861640a50b1ba44f34ee7e786d48025f192bf12 (diff)
downloadpkgsrc-a06fda69f9dbc3ce5ea0fced8cd6d7405874aaa6.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