ports/72320: Update port: games/xgammon to 0.98a

KATO Tsuguru tkato432 at yahoo.com
Mon Oct 4 17:10:40 UTC 2004


>Number:         72320
>Category:       ports
>Synopsis:       Update port: games/xgammon to 0.98a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 04 17:10:31 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.98a

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/xgammon/Makefile games/xgammon/Makefile
--- /usr/ports/games/xgammon/Makefile	Thu Apr  8 02:41:04 2004
+++ games/xgammon/Makefile	Sun Oct  3 01:43:01 2004
@@ -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 at 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 -urN /usr/ports/games/xgammon/distinfo games/xgammon/distinfo
--- /usr/ports/games/xgammon/distinfo	Fri Mar 19 18:08:45 2004
+++ games/xgammon/distinfo	Sun Oct  3 01:42:15 2004
@@ -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 -urN /usr/ports/games/xgammon/pkg-descr games/xgammon/pkg-descr
--- /usr/ports/games/xgammon/pkg-descr	Fri Jan  3 17:15:44 1997
+++ games/xgammon/pkg-descr	Sun Oct  3 01:39:13 2004
@@ -10,3 +10,5 @@
    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 -urN /usr/ports/games/xgammon/pkg-plist games/xgammon/pkg-plist
--- /usr/ports/games/xgammon/pkg-plist	Mon Sep 28 11:18:44 1998
+++ games/xgammon/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,4 +0,0 @@
-bin/xgammon
-lib/X11/app-defaults/XGammon
-lib/X11/xgammon/xgammon.db
- at dirrm lib/X11/xgammon
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list