Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2004 23:45:30 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60931: Update port: games/xabacus 7.0.3
Message-ID:  <20040105234530.5d5356a9.tkato@prontomail.com>
Resent-Message-ID: <200401051450.i05EoGIx089279@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60931
>Category:       ports
>Synopsis:       Update port: games/xabacus 7.0.3
>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 Jan 05 06:50:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 7.0.3

Remove file:
files/patch-aa
files/patch-ab

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/xabacus/Makefile games/xabacus/Makefile
--- /usr/ports/games/xabacus/Makefile	Sat Apr 12 22:47:35 2003
+++ games/xabacus/Makefile	Sun Jan  4 01:43:25 2004
@@ -6,26 +6,31 @@
 #
 
 PORTNAME=	xabacus
-PORTVERSION=	5.5.2
+PORTVERSION=	7.0.3
 CATEGORIES=	games
-MASTER_SITES=	${MASTER_SITE_XCONTRIB} \
+MASTER_SITES=	${MASTER_SITE_SUNSITE} \
 		ftp://ftp.tux.org/pub/tux/bagleyd/xabacus/
-MASTER_SITE_SUBDIR=	applications
+MASTER_SITE_SUBDIR=	apps/math
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Abacus for X Window System
 
-WRKSRC=		${WRKDIR}/xabacus
-USE_MOTIF=	yes
+USE_BZIP2=	yes
 USE_X_PREFIX=	yes
+USE_XPM=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+MAN6=		xabacus.6
 
-MAN1=		xabacus.1
+.if defined(WITHOUT_MOTIF)
+CONFIGURE_ARGS+=	--without-motif
+.else
+USE_MOTIF=	yes
+.endif
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/xabacus ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/xmabacus ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/xabacus.man ${PREFIX}/man/man1/xabacus.1
-	${INSTALL_DATA} ${WRKSRC}/Abacus.ad ${X11BASE}/lib/X11/app-defaults/Abacus
+post-patch:
+	@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/xabacus/distinfo games/xabacus/distinfo
--- /usr/ports/games/xabacus/distinfo	Thu Mar 30 12:42:45 2000
+++ games/xabacus/distinfo	Sun Jan  4 01:26:09 2004
@@ -1 +1 @@
-MD5 (xabacus-5.5.2.tar.gz) = 2ec8d651b3a24c6919aac0ccf85bbe99
+MD5 (xabacus-7.0.3.tar.bz2) = 5cee23da251f8fdbb2b9d078a76067b0
diff -urN /usr/ports/games/xabacus/files/patch-aa games/xabacus/files/patch-aa
--- /usr/ports/games/xabacus/files/patch-aa	Tue May  5 10:25:25 1998
+++ games/xabacus/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,18 +0,0 @@
---- Abacus.c	Sat Feb 15 02:57:06 1997
-+++ /home/andy/tmp/wrk/Abacus.c	Sun May  3 11:33:29 1998
-@@ -184,6 +184,7 @@
- #endif /* !LESS_THAN_AIX3_2 */
- #endif /* defined(SYSV) || defined(SVR4) */
- 
-+#ifndef __FreeBSD__
- static int
- usleep(long unsigned int usec)
- {
-@@ -225,6 +226,7 @@
- #endif
- 	return 0;
- }
-+#endif
- #endif
- 
- static void
diff -urN /usr/ports/games/xabacus/files/patch-ab games/xabacus/files/patch-ab
--- /usr/ports/games/xabacus/files/patch-ab	Wed May 12 18:31:37 1999
+++ games/xabacus/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig	Wed May  6 12:03:35 1998
-+++ configure	Wed May  6 12:03:46 1998
-@@ -2103,7 +2103,7 @@
-   INSTALL_XMWIDGET=""
-   UNINSTALL_XMWIDGET=""
- else
--  XMWIDGETLIBS="-lXm ${LIBS}"
-+  XMWIDGETLIBS="\${MOTIFLIB} -lXext ${LIBS}"
-   XMWIDGET="xmabacus"
-   INSTALL_XMWIDGET="install_xmabacus"
-   UNINSTALL_XMWIDGET="uninstall_xmabacus"
diff -urN /usr/ports/games/xabacus/pkg-plist games/xabacus/pkg-plist
--- /usr/ports/games/xabacus/pkg-plist	Thu Aug 13 11:23:10 1998
+++ games/xabacus/pkg-plist	Sun Jan  4 01:41:32 2004
@@ -1,3 +1,8 @@
 bin/xabacus
-bin/xmabacus
 lib/X11/app-defaults/Abacus
+%%DATADIR%%/Abacus.ps
+%%DATADIR%%/Abacus1.les
+%%DATADIR%%/Abacus2.les
+%%DATADIR%%/Abacus3.les
+%%DATADIR%%/Abacus4.les
+@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040105234530.5d5356a9.tkato>