summaryrefslogtreecommitdiff
path: root/lang/sablevm-classpath-gui
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-05-23 10:25:30 +0000
committerjmmv <jmmv@pkgsrc.org>2004-05-23 10:25:30 +0000
commit384c42dac40e25b6d01ffbe7958d915f3f2a1f43 (patch)
treed307b3d2276aa9f7536c0af174b758a55a097c44 /lang/sablevm-classpath-gui
parent7aa73ae3084b66108b4338caef1275ced7ebb8ea (diff)
downloadpkgsrc-384c42dac40e25b6d01ffbe7958d915f3f2a1f43.tar.gz
Convert sablevm{,-classpath,-classpath-gui} to java-env.mk, so that they
can easily coexist with other Java implementations. This basically means that they are now installed under ${PREFIX}/java/sablevm and that a wrapper is created under ${PREFIX}/bin (sablevm-java) to exec this VM.
Diffstat (limited to 'lang/sablevm-classpath-gui')
-rw-r--r--lang/sablevm-classpath-gui/Makefile12
-rw-r--r--lang/sablevm-classpath-gui/PLIST12
2 files changed, 13 insertions, 11 deletions
diff --git a/lang/sablevm-classpath-gui/Makefile b/lang/sablevm-classpath-gui/Makefile
index 67bedb1df76..3974a4a2118 100644
--- a/lang/sablevm-classpath-gui/Makefile
+++ b/lang/sablevm-classpath-gui/Makefile
@@ -1,23 +1,25 @@
-# $NetBSD: Makefile,v 1.2 2004/04/30 21:12:55 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2004/05/23 10:25:30 jmmv Exp $
#
.include "../../lang/sablevm-classpath/Makefile.common"
PKGNAME= ${DISTNAME:S/classpath/classpath-gui/}
+PKGREVISION= 1
COMMENT+= (GUI libraries)
-DEPENDS+= sablevm-classpath>=1.1.3:../../lang/sablevm-classpath
+DEPENDS+= sablevm-classpath>=1.1.3nb1:../../lang/sablevm-classpath
BUILD_DIRS= ${WRKSRC}/native/jni/classpath
BUILD_DIRS+= ${WRKSRC}/native/jni/gtk-peer
INSTALL_DIRS= ${WRKSRC}/native/jni/gtk-peer
-PRINT_PLIST_AWK+= /^@dirrm lib\/sablevm\/sablevm-classpath$$/ \
- { print "@comment in sablevm-classpath: "$$0; \
- next; }
+PRINT_PLIST_AWK+= \
+ /^@dirrm java\/sablevm\/lib\/sablevm\/sablevm-classpath$$/ \
+ { print "@comment in sablevm-classpath: "$$0; next; }
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../graphics/libart2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/java-env.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/sablevm-classpath-gui/PLIST b/lang/sablevm-classpath-gui/PLIST
index b43eda70054..56594ca6801 100644
--- a/lang/sablevm-classpath-gui/PLIST
+++ b/lang/sablevm-classpath-gui/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2004/04/30 21:12:55 jmmv Exp $
-lib/sablevm/sablevm-classpath/libgtkpeer-staging+2033.so
-lib/sablevm/sablevm-classpath/libgtkpeer.a
-lib/sablevm/sablevm-classpath/libgtkpeer.la
-lib/sablevm/sablevm-classpath/libgtkpeer.so
-@comment in sablevm-classpath: @dirrm lib/sablevm/sablevm-classpath
+@comment $NetBSD: PLIST,v 1.3 2004/05/23 10:25:30 jmmv Exp $
+java/sablevm/lib/sablevm/sablevm-classpath/libgtkpeer-staging+2033.so
+java/sablevm/lib/sablevm/sablevm-classpath/libgtkpeer.a
+java/sablevm/lib/sablevm/sablevm-classpath/libgtkpeer.la
+java/sablevm/lib/sablevm/sablevm-classpath/libgtkpeer.so
+@comment in sablevm-classpath: @dirrm java/sablevm/lib/sablevm/sablevm-classpath