diff options
author | jwise <jwise> | 2002-04-30 14:42:38 +0000 |
---|---|---|
committer | jwise <jwise> | 2002-04-30 14:42:38 +0000 |
commit | d6f772e030ca517c96fc93d6e9dd1dfc282f3c4d (patch) | |
tree | 02942fde40b4ad0098065ea722c76986ae4a8799 /net | |
parent | 054b989a09adfa35b0f0fdf71b5c6b22c317e180 (diff) | |
download | pkgsrc-d6f772e030ca517c96fc93d6e9dd1dfc282f3c4d.tar.gz |
Use bsd.pkg.mk's USE_JAVA, so that this package can be built with any
jvm supported by pkgsrc (such as the blackdown jdk on powerpc), not just
the sun jvm on i386.
If user is using a java-1.1 jdk (pkgsrc/lang/jdk or kaffe), pull in swing
from the swing package.
Diffstat (limited to 'net')
-rw-r--r-- | net/xnap/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/xnap/Makefile b/net/xnap/Makefile index 702eebaf0d6..b06b8e02eb1 100644 --- a/net/xnap/Makefile +++ b/net/xnap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/04/28 22:15:14 hubertf Exp $ +# $NetBSD: Makefile,v 1.2 2002/04/30 14:42:38 jwise Exp $ # DISTNAME= xnap-2.0 @@ -9,8 +9,7 @@ MAINTAINER= Benjamin.Wong@cc.gatech.edu HOMEPAGE= http://xnap.sourceforge.net/ COMMENT= Java filesharing client with support for OpenNap -DEPENDS= sun-jdk-[0-9]*:../../lang/sun-jdk13 - +USE_JAVA= yes NO_BUILD= yes do-install: @@ -22,3 +21,6 @@ do-install: ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/xnap ${PREFIX}/share/doc/xnap .include "../../mk/bsd.pkg.mk" +.if ${PKG_JVM} == "jdk" || ${PKG_JVM} == "kaffe" +DEPENDS+= swing-[0-9]*:../../x11/swing +.endif |