pkgsrc/games/cgoban-java/Makefile
rh a039a36746 Update cgoban-java to 2.4.61. No change list is available, but this
avoids warnings on KGS about the use of an outdated client.
2003-05-09 07:47:56 +00:00

30 lines
788 B
Makefile

# $NetBSD: Makefile,v 1.6 2003/05/09 07:47:56 rh Exp $
#
DISTNAME= cgoban-unix-2.4.61
PKGNAME= ${DISTNAME:S/unix/java/}
WRKSRC= ${WRKDIR}/cgoban
CATEGORIES= games
MASTER_SITES= http://kgs.kiseido.com/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://kgs.kiseido.com/en_US/download.html
COMMENT= Java Go server client and SGF viewer/editor
NO_BUILD= yes
USE_BUILDLINK2= yes
USE_JAVA2= yes
USE_JAVA= run
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"