ports/87060: Update port: games/xabacus
KATO Tsuguru
tkato432 at yahoo.com
Fri Oct 7 14:10:24 UTC 2005
>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:
More information about the freebsd-ports-bugs
mailing list