freebsd-ports/games/cgoban2/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: cgoban2
# Date created: 30 October 2003
# Whom: smazanek@steffen-mazanek.de
#
# $FreeBSD$
#
PORTNAME= cgoban2
PORTVERSION= 2.6.12
PORTREVISION= 4
CATEGORIES= games java
MASTER_SITES= http://kgs.kiseido.com/
DISTNAME= cgoban-unix-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Internet Go Server client and game editor
EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
WRKSRC= ${WRKDIR}/cgoban
USE_JAVA= yes
JAVA_VERSION= 1.3+
NO_BUILD= yes
PLIST_FILES= bin/cgoban2 %%DATADIR%%/cgoban.jar share/pixmaps/cgoban2.png
PLIST_DIRS= %%DATADIR%%
ICON= org/igoweb/go/swing/images/tool1.png
DESKTOP_ENTRIES="CGoban 2" \
"Play Go" \
"cgoban2.png" \
"cgoban2" \
"Application;Game;" \
false
post-extract:
@${UNZIP_CMD} -qo ${WRKSRC}/cgoban.jar ${ICON} -d ${WRKSRC}
post-patch:
${SED} -e 's|_DIR=.|_DIR=${DATADIR}| ; s|^java|JAVA_VERSION="${JAVA_VERSION}" exec "${LOCALBASE}/bin/java"|'\
< ${WRKSRC}/cgoban.sh.in > ${WRKSRC}/cgoban2
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/cgoban.jar ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/cgoban2 ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/${ICON} ${PREFIX}/share/pixmaps/cgoban2.png
.include <bsd.port.mk>