summaryrefslogtreecommitdiff
path: root/net/xnap/Makefile
blob: b06b8e02eb15909ab88c2651e13f59eba9324b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.2 2002/04/30 14:42:38 jwise Exp $
#

DISTNAME=	xnap-2.0
CATEGORIES=	net
MASTER_SITES=	http://telia.dl.sourceforge.net/xnap/

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:
	${CP} ${WRKSRC}/xnap.sh ${PREFIX}/bin/xnap
	${INSTALL_PROGRAM_DIR} ${PREFIX}/share/xnap
	${CP} ${WRKSRC}/xnap.jar ${PREFIX}/share/xnap/xnap.jar
	${INSTALL_PROGRAM_DIR} ${PREFIX}/share/doc/xnap
	${CP} ${WRKSRC}/README ${PREFIX}/share/doc/xnap
	${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