blob: 566359161e74c5cb005ebdab10a02e5aff7012c0 (
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
|
# $NetBSD: Makefile,v 1.31 2006/02/05 23:09:13 joerg Exp $
#
DISTNAME= cgoban-unix-2.6.12
PKGNAME= ${DISTNAME:S/unix/java/}
PKGREVISION= 1
CATEGORIES= games java
MASTER_SITES= http://kgs.kiseido.com/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://kgs.kiseido.com/en_US/download.html
COMMENT= Java Go server client and SGF viewer/editor
WRKSRC= ${WRKDIR}/cgoban
NO_BUILD= yes
USE_JAVA2= yes
USE_JAVA= run
INSTALLATION_DIRS= bin libexec
do-configure:
${SED} -e 's|\(_DIR=\).|\1${PREFIX}/libexec|' \
-e 's|^\(java\)|${PKG_JAVA_HOME}/bin/\1|' \
< ${WRKSRC}/cgoban.sh.in > ${WRKSRC}/cgoban.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cgoban.sh ${PREFIX}/bin/cgoban-java
${INSTALL_DATA} ${WRKSRC}/cgoban.jar ${PREFIX}/libexec
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|