diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-07-07 12:19:08 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-07-07 12:19:08 +0000 |
commit | 547d82f398b237e8faf26db2ea6add891c3cdd49 (patch) | |
tree | 489b16028a71dfbe0bad5817234ac0ea88abfde4 /games | |
parent | 13821d22f791ec53808dfba331926694a4a2421d (diff) |
Use USES=display:install instead of custom version
Notes
Notes:
svn path=/head/; revision=322433
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> |