Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2005 23:00:27 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87060: Update port: games/xabacus
Message-ID:  <20051007230027.3bf3980d.tkato432@yahoo.com>
Resent-Message-ID: <200510071410.j97EAIuC066587@freefall.freebsd.org>

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

>Number:         87060
>Category:       ports
>Synopsis:       Update port: games/xabacus
>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:   Fri Oct 07 14:10:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p12 i386
>Organization:
>Environment:
>Description:
- Support sound playing functionality

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/xabacus/Makefile games/xabacus/Makefile
--- /usr/ports/games/xabacus/Makefile	Thu Oct  6 13:25:00 2005
+++ games/xabacus/Makefile	Thu Oct  6 13:55:15 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	xabacus
 PORTVERSION=	7.1.4
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SUNSITE} \
 		ftp://ftp.tux.org/pub/tux/bagleyd/xabacus/
@@ -17,20 +18,32 @@
 
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
+WANT_GNOME=	yes
+USE_GNOME=	gnometarget
 USE_XPM=	yes
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS=	--without-nas
 
 MAN6=		xabacus.6
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITHOUT_MOTIF)
 CONFIGURE_ARGS+=	--without-motif
 .else
 USE_MOTIF=	yes
 .endif
 
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME+=	esound
+CONFIGURE_ARGS+=	--without-rplay --with-esound
+.else
+LIB_DEPENDS+=	rplay.1:${PORTSDIR}/audio/rplay
+CONFIGURE_ARGS+=	--with-rplay --without-esound
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/Makefile.in
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051007230027.3bf3980d.tkato432>