aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-07-08 17:10:56 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-07-08 17:10:56 +0000
commitb6f7a42432e977ae567821561c308ca98a3c70cb (patch)
tree62c795e27d3eab89f4bcdc324249d478546a434c /games
parent6ebcf86c50951895fea91896f3500498b4a706f6 (diff)
downloadports-b6f7a42432e977ae567821561c308ca98a3c70cb.tar.gz
ports-b6f7a42432e977ae567821561c308ca98a3c70cb.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/gcompris/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/games/gcompris/Makefile b/games/gcompris/Makefile
index 9d28d9449a74..6c935de8e33b 100644
--- a/games/gcompris/Makefile
+++ b/games/gcompris/Makefile
@@ -24,8 +24,7 @@ RUN_DEPENDS= gnuchess:${PORTSDIR}/games/gnuchess \
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>