diff options
author | bapt <bapt@FreeBSD.org> | 2013-07-07 20:19:08 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-07-07 20:19:08 +0800 |
commit | bf356c67256578a9a3ee9c4277fb7b95724b9ad6 (patch) | |
tree | 489b16028a71dfbe0bad5817234ac0ea88abfde4 /games | |
parent | 2ebf9debbcd86703ab1d1797f8f7cfff82d1e5b0 (diff) | |
download | freebsd-ports-gnome-bf356c67256578a9a3ee9c4277fb7b95724b9ad6.tar.gz freebsd-ports-gnome-bf356c67256578a9a3ee9c4277fb7b95724b9ad6.tar.zst freebsd-ports-gnome-bf356c67256578a9a3ee9c4277fb7b95724b9ad6.zip |
Use USES=display:install instead of custom version
Diffstat (limited to 'games')
-rw-r--r-- | games/gnomesudoku/Makefile | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/games/gnomesudoku/Makefile b/games/gnomesudoku/Makefile index 7c1322bc0a60..4880f03900ee 100644 --- a/games/gnomesudoku/Makefile +++ b/games/gnomesudoku/Makefile @@ -14,49 +14,11 @@ COMMENT= GNOME Sudoku game RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric \ ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging -.if !defined(DISPLAY) -BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \ - ${LOCALBASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT} -.if !defined(PACKAGE_BUILDING) -MAKE_ENV+= DISPLAY="localhost:1001" -.endif -.endif - USE_PYTHON= 2.5+ USE_PYDISTUTILS=yes -USES= pathfix +USES= pathfix display:install USE_GNOME= gnomeprefix pygnome2 pygnomedesktop PYDISTUTILS_PKGNAME= gnome-sudoku -.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 - -pre-install: - @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-install: - @if [ -f ${WRKDIR}/.Xvfb.pid ]; then \ - ${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \ - ${RM} -f ${WRKDIR}/.Xvfb.pid ; \ - fi -.endif - .include <bsd.port.mk> |