blob: 5fee90250cfa30f8de485804fdd71e9c45489bd0 (
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
|
# $NetBSD: Makefile,v 1.3 2015/11/08 00:10:34 dholland Exp $
DISTNAME= jin-2.14.1-unix
PKGNAME= ${DISTNAME:S/-unix//}
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jin/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jin.sourceforge.net/
COMMENT= Graphical client for chess servers
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= # none
USE_TOOLS+= pax
USE_JAVA= run
USE_JAVA2= yes
INSTALLATION_DIRS= bin share/${PKGBASE}
do-build:
${ECHO} '#!/bin/sh' > ${WRKDIR}/jin.sh
${ECHO} "cd ${PREFIX}/share/${PKGBASE} && exec ${JAVA_BINPREFIX}-java -jar "'"'"jin.jar"'" "$$@"' >> ${WRKDIR}/jin.sh
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jin.sh ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC} && pax -pp -rw * ${DESTDIR}${PREFIX}/share/${PKGBASE}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|