svn commit: r333619 - head/games/xabacus

Danilo Egea Gondolfo danilo at FreeBSD.org
Tue Nov 12 20:51:00 UTC 2013


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


More information about the svn-ports-all mailing list