aboutsummaryrefslogtreecommitdiff
path: root/games/xabacus
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-12 20:50:59 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-12 20:50:59 +0000
commitbc60f7fbc7d60a35730af63981eef92f7c77b631 (patch)
tree94b209ac7eb0b981b4ab922e5bf134dc2ca2ed3a /games/xabacus
parenta97a447648b01395f93565f88f2f074826ba3818 (diff)
downloadports-bc60f7fbc7d60a35730af63981eef92f7c77b631.tar.gz
ports-bc60f7fbc7d60a35730af63981eef92f7c77b631.zip
- Use options helpers
- Fix build with clang - Add stage support
Notes
Notes: svn path=/head/; revision=333619
Diffstat (limited to 'games/xabacus')
-rw-r--r--games/xabacus/Makefile15
-rw-r--r--games/xabacus/pkg-plist1
2 files changed, 7 insertions, 9 deletions
diff --git a/games/xabacus/Makefile b/games/xabacus/Makefile
index 86b22ad2b3cb..f03e17373da1 100644
--- a/games/xabacus/Makefile
+++ b/games/xabacus/Makefile
@@ -20,26 +20,23 @@ USE_XORG= xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-nas
-MAN6= xabacus.6
+MOTIF_USES= motif
+MOTIF_CONFIGURE_WITH= motif
-NO_STAGE= yes
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MMOTIF}
-USES= motif
-.else
-CONFIGURE_ARGS+= --without-motif
-.endif
-
.if ${PORT_OPTIONS:MESOUND}
USE_GNOME+= esound
CONFIGURE_ARGS+= --without-rplay --with-esound
.else
-LIB_DEPENDS+= rplay:${PORTSDIR}/audio/rplay
+LIB_DEPENDS+= librplay.so:${PORTSDIR}/audio/rplay
CONFIGURE_ARGS+= --with-rplay --without-esound
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/Makefile.in
+post-configure:
+ @${REINPLACE_CMD} -e '/^XWIDGETLDFLAGS/d' ${WRKSRC}/Makefile
+
.include <bsd.port.mk>
diff --git a/games/xabacus/pkg-plist b/games/xabacus/pkg-plist
index b833c8fe7e89..b389cc2e7d9a 100644
--- a/games/xabacus/pkg-plist
+++ b/games/xabacus/pkg-plist
@@ -1,4 +1,5 @@
bin/xabacus
+man/man6/xabacus.6.gz
lib/X11/app-defaults/Abacus
%%DATADIR%%/Abacus.ps
%%DATADIR%%/Abacus1_1.les