Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 20:50:59 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333619 - head/games/xabacus
Message-ID:  <201311122050.rACKoxdQ002821@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Nov 12 20:50:59 2013
New Revision: 333619
URL: http://svnweb.freebsd.org/changeset/ports/333619

Log:
  - Use options helpers
  - Fix build with clang
  - Add stage support

Modified:
  head/games/xabacus/Makefile
  head/games/xabacus/pkg-plist

Modified: head/games/xabacus/Makefile
==============================================================================
--- head/games/xabacus/Makefile	Tue Nov 12 20:38:47 2013	(r333618)
+++ head/games/xabacus/Makefile	Tue Nov 12 20:50:59 2013	(r333619)
@@ -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>

Modified: head/games/xabacus/pkg-plist
==============================================================================
--- head/games/xabacus/pkg-plist	Tue Nov 12 20:38:47 2013	(r333618)
+++ head/games/xabacus/pkg-plist	Tue Nov 12 20:50:59 2013	(r333619)
@@ -1,4 +1,5 @@
 bin/xabacus
+man/man6/xabacus.6.gz
 lib/X11/app-defaults/Abacus
 %%DATADIR%%/Abacus.ps
 %%DATADIR%%/Abacus1_1.les



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