svn commit: r322517 - head/games/gcompris

Baptiste Daroussin bapt at FreeBSD.org
Mon Jul 8 17:10:57 UTC 2013


Author: bapt
Date: Mon Jul  8 17:10:56 2013
New Revision: 322517
URL: http://svnweb.freebsd.org/changeset/ports/322517

Log:
  Convert to USES=display:configure gmake

Modified:
  head/games/gcompris/Makefile

Modified: head/games/gcompris/Makefile
==============================================================================
--- head/games/gcompris/Makefile	Mon Jul  8 16:51:29 2013	(r322516)
+++ head/games/gcompris/Makefile	Mon Jul  8 17:10:56 2013	(r322517)
@@ -24,8 +24,7 @@ RUN_DEPENDS=	gnuchess:${PORTSDIR}/games/
 		gnucap:${PORTSDIR}/cad/gnucap
 
 USE_BZIP2=	yes
-USE_GMAKE=	yes
-USES=		gettext
+USES=		gettext gmake display:configure
 GNU_CONFIGURE=	yes
 USE_GSTREAMER=	yes
 USE_PYTHON=	-2.7
@@ -46,20 +45,4 @@ post-patch:
 		's|-DGNOME_DISABLE_DEPRECATED||g'
 	@${FIND} ${WRKSRC} -type f -name "*.bak" -delete
 
-.if !defined(DISPLAY)
-pre-configure:
-	@if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
-		${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
-		${RM} -f ${WRKDIR}/.Xvfb.pid ; \
-	fi
-	${LOCALBASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid
-	@sleep 5
-
-post-configure:
-	@if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
-		${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
-		${RM} -f ${WRKDIR}/.Xvfb.pid ; \
-	fi
-.endif
-
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list