blob: 812f2f2193771d15ff696b5b590e626512853f1d (
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
|
# $NetBSD: Makefile,v 1.1 2014/08/13 18:57:27 wiz 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
INSTALLATION_DIRS= bin
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"
|