# $NetBSD: Makefile,v 1.38 2007/05/04 07:48:50 rh Exp $ # DISTNAME= cgoban-java-3.3.17 CATEGORIES= games java MASTER_SITES= ${MASTER_SITE_LOCAL} # Mirrored from http://files.gokgs.com/javaBin/cgoban.jar EXTRACT_SUFX= .jar MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.gokgs.com/ COMMENT= Client for the Kiseido Go Server and SGF viewer/editor WRKSRC= ${WRKDIR} USE_JAVA= run USE_JAVA2= yes USE_TOOLS+= printf INSTALLATION_DIRS= bin lib/java do-build: printf "#! ${SH}\\nexec ${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/lib/java/${DISTNAME}.jar \"\$$@\"\\n" > ${WRKSRC}/cgoban-java.sh do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cgoban-java.sh ${PREFIX}/bin/cgoban-java ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${PREFIX}/lib/java/${DISTNAME}.jar .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk"