blob: abca7d66e224bbbffa7ab62e2bba0a7e8db4727b (
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
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.16 2019/05/23 19:23:11 rillig Exp $
#
DISTNAME= xnap-2.0
PKGREVISION= 2
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xnap/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xnap.sourceforge.net/
COMMENT= Java filesharing client with support for OpenNap
USE_JAVA= run
PKG_JVMS_ACCEPTED= 1.4
NO_BUILD= yes
INSTALLATION_DIRS= bin share/xnap share/doc/xnap
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_MESSAGE.path= fixing java path
SUBST_FILES.path= xnap.sh
SUBST_SED.path= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME}/,g'
SUBST_VARS.path= PREFIX
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/xnap.sh ${DESTDIR}${PREFIX}/bin/xnap
${INSTALL_DATA} ${WRKSRC}/xnap.jar ${DESTDIR}${PREFIX}/share/xnap/xnap.jar
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xnap
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|