aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
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>