aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-07-09 01:10:56 +0800
committerbapt <bapt@FreeBSD.org>2013-07-09 01:10:56 +0800
commit1a53a146c252140e7b20336ab3243157373e4b10 (patch)
tree62c795e27d3eab89f4bcdc324249d478546a434c /games
parent089531fd8ac412041d6fc9ab4e815854722d9b80 (diff)
downloadfreebsd-ports-gnome-1a53a146c252140e7b20336ab3243157373e4b10.tar.gz
freebsd-ports-gnome-1a53a146c252140e7b20336ab3243157373e4b10.tar.zst
freebsd-ports-gnome-1a53a146c252140e7b20336ab3243157373e4b10.zip
Convert to USES=display:configure gmake
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>