aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/xgammon/Makefile29
-rw-r--r--games/xgammon/distinfo4
-rw-r--r--games/xgammon/pkg-descr2
-rw-r--r--games/xgammon/pkg-plist4
4 files changed, 10 insertions, 29 deletions
diff --git a/games/xgammon/Makefile b/games/xgammon/Makefile
index 7c7fdec52a02..8ac8bbe98368 100644
--- a/games/xgammon/Makefile
+++ b/games/xgammon/Makefile
@@ -6,35 +6,18 @@
#
PORTNAME= xgammon
-PORTVERSION= 0.98
+PORTVERSION= 0.98a
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_REDHAT}
-MASTER_SITE_SUBDIR= linux/6.2/en/os/${MACHINE_ARCH}/SRPMS
-EXTRACT_SUFX= -15.src.rpm
-
-PATCH_DIST_STRIP= -p1
+MASTER_SITES= http://fawn.unibw-hamburg.de/steuer/xgammon/Downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= A backgammon program for X11
-EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
-
-NO_WRKSUBDIR= yes
USE_IMAKE= yes
-MAN6= xgammon.6
-PATCH_FILES= ${PORTNAME}-${PORTVERSION}-dirent.patch
-
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
- @rpm2cpio.pl ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; ${CPIO} -i)
- @${TAR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
-
-pre-patch:
- @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}"
-.for file in ${PATCH_FILES}
- @${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${file}
-.endfor
+MAN6= xgammon.6
+PLIST_FILES= bin/xgammon lib/X11/app-defaults/XGammon \
+ lib/X11/xgammon/xgammon.db
+PLIST_DIRS= lib/X11/xgammon
.include <bsd.port.mk>
diff --git a/games/xgammon/distinfo b/games/xgammon/distinfo
index a524f1a06dfb..42ddd351f5ad 100644
--- a/games/xgammon/distinfo
+++ b/games/xgammon/distinfo
@@ -1,2 +1,2 @@
-MD5 (xgammon-0.98-15.src.rpm) = 9d418e2b2c30057f1b3bc708493c7e17
-SIZE (xgammon-0.98-15.src.rpm) = 79412
+MD5 (xgammon-0.98a.tar.gz) = 56ad9b75767c3b5822065d425b538012
+SIZE (xgammon-0.98a.tar.gz) = 76415
diff --git a/games/xgammon/pkg-descr b/games/xgammon/pkg-descr
index 11b0e180af94..db9b0ad92d97 100644
--- a/games/xgammon/pkg-descr
+++ b/games/xgammon/pkg-descr
@@ -10,3 +10,5 @@ Features:
You can do rollouts with doubling turned on and off.
The programm uses an endgame database for perfect bearing off (and for
reasonable running game).
+
+WWW: http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html
diff --git a/games/xgammon/pkg-plist b/games/xgammon/pkg-plist
deleted file mode 100644
index 79b0f9db4aaf..000000000000
--- a/games/xgammon/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/xgammon
-lib/X11/app-defaults/XGammon
-lib/X11/xgammon/xgammon.db
-@dirrm lib/X11/xgammon