# New ports collection makefile for: cgoban2 # Date created: 30 October 2003 # Whom: smazanek@steffen-mazanek.de # # $FreeBSD$ # PORTNAME= cgoban PORTVERSION= 2.5.5 CATEGORIES= games MASTER_SITES= http://kgs.kiseido.com/ DISTNAME= ${PORTNAME}-unix-${PORTVERSION} MAINTAINER= smazanek@steffen-mazanek.de COMMENT= Internet Go Server client and game editor WRKSRC= ${WRKDIR}/${PORTNAME} INSTALLDIR= ${PREFIX}/share/java/cgoban2 USE_JAVA= 1.3+ NO_BUILD= yes post-patch: ${SED} -e 's|_DIR=.|_DIR=${INSTALLDIR}| ; s|^java|javavm|'\ < ${WRKSRC}/cgoban.sh.in > ${WRKSRC}/cgoban2 do-install: ${MKDIR} ${INSTALLDIR} ${INSTALL_DATA} ${WRKSRC}/cgoban.jar ${INSTALLDIR} ${INSTALL_SCRIPT} ${WRKSRC}/cgoban2 ${PREFIX}/bin/cgoban2 .include