diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-02-11 09:54:31 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-02-11 09:54:31 +0800 |
commit | 7f3e5dfc73cb7702a913ae6c731d66811d058b7e (patch) | |
tree | a179eba5b27c2ee84c1a1d1106ad3c8c5ef042cd /games | |
parent | 58a0317275baa11f7d924274b5f476bc293e26d1 (diff) | |
download | freebsd-ports-gnome-7f3e5dfc73cb7702a913ae6c731d66811d058b7e.tar.gz freebsd-ports-gnome-7f3e5dfc73cb7702a913ae6c731d66811d058b7e.tar.zst freebsd-ports-gnome-7f3e5dfc73cb7702a913ae6c731d66811d058b7e.zip |
[1]:
- Add a desktop entry
- Run java with the exec statement
- Move to ${X11BASE}
[2]:
- Update maintainer's email
[1]:
PR: ports/92324
Submitted by: jylefort
Approved by: maintainer timeout (17 days)
[2]:
PR: ports/92423
Submitted by: maintainer
Diffstat (limited to 'games')
-rw-r--r-- | games/cgoban2/Makefile | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/games/cgoban2/Makefile b/games/cgoban2/Makefile index 21e809260cc6..44770af04aa2 100644 --- a/games/cgoban2/Makefile +++ b/games/cgoban2/Makefile @@ -7,18 +7,20 @@ PORTNAME= cgoban2 PORTVERSION= 2.6.12 +PORTREVISION= 1 CATEGORIES= games java MASTER_SITES= http://kgs.kiseido.com/ DISTNAME= cgoban-unix-${PORTVERSION} -MAINTAINER= philip.reynolds@rfc-networks.ie +MAINTAINER= phil@brassy.net COMMENT= Internet Go Server client and game editor +EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper WRKSRC= ${WRKDIR}/cgoban -DATADIR= ${JAVASHAREDIR}/${PORTNAME} +USE_X_PREFIX= yes USE_JAVA= yes JAVA_VERSION= 1.3+ NO_BUILD= yes @@ -26,13 +28,27 @@ NO_BUILD= yes PLIST_FILES= bin/cgoban2 %%DATADIR%%/cgoban.jar 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}" "${LOCALBASE}/bin/java"|'\ + ${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/cgoban2 + ${INSTALL_SCRIPT} ${WRKSRC}/cgoban2 ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/${ICON} ${PREFIX}/share/pixmaps/cgoban2.png .include <bsd.port.mk> |