aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-10-10 10:29:13 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-10-10 10:29:13 +0000
commit08d02d59e61752ac787333a3cd27209d7ed26d2f (patch)
tree0a141603fc153a19524137bd52c71eacdd3dd968 /games
parentf7586638b3c07a3c32d67d3d7c044651079a6fba (diff)
downloadports-08d02d59e61752ac787333a3cd27209d7ed26d2f.tar.gz
ports-08d02d59e61752ac787333a3cd27209d7ed26d2f.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/xabacus/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/games/xabacus/Makefile b/games/xabacus/Makefile
index 1eae39978c83..427e57c5fd63 100644
--- a/games/xabacus/Makefile
+++ b/games/xabacus/Makefile
@@ -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 @@ COMMENT= Abacus for X Window System
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>