summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/xnap/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/xnap/Makefile b/net/xnap/Makefile
index b06b8e02eb1..c91221e1e07 100644
--- a/net/xnap/Makefile
+++ b/net/xnap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/04/30 14:42:38 jwise Exp $
+# $NetBSD: Makefile,v 1.3 2002/12/31 15:44:29 jlam Exp $
#
DISTNAME= xnap-2.0
@@ -9,7 +9,6 @@ MAINTAINER= Benjamin.Wong@cc.gatech.edu
HOMEPAGE= http://xnap.sourceforge.net/
COMMENT= Java filesharing client with support for OpenNap
-USE_JAVA= yes
NO_BUILD= yes
do-install:
@@ -20,7 +19,10 @@ do-install:
${CP} ${WRKSRC}/README ${PREFIX}/share/doc/xnap
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/xnap ${PREFIX}/share/doc/xnap
-.include "../../mk/bsd.pkg.mk"
+.include "../../mk/java-vm.mk"
+
.if ${PKG_JVM} == "jdk" || ${PKG_JVM} == "kaffe"
DEPENDS+= swing-[0-9]*:../../x11/swing
.endif
+
+.include "../../mk/bsd.pkg.mk"