aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2006-06-24 05:12:26 +0800
committertg <tg@FreeBSD.org>2006-06-24 05:12:26 +0800
commit5726128b410c982abd5947291fa0954501f1be48 (patch)
tree4fd9237969631a20bface8524e4097fd499cf30f /games
parent523a7cbbde1a67feab8eab3c200990a6be03cc49 (diff)
downloadfreebsd-ports-gnome-5726128b410c982abd5947291fa0954501f1be48.tar.gz
freebsd-ports-gnome-5726128b410c982abd5947291fa0954501f1be48.tar.zst
freebsd-ports-gnome-5726128b410c982abd5947291fa0954501f1be48.zip
Upgrade to 0.5.0.
Diffstat (limited to 'games')
-rw-r--r--games/gnomesudoku/Makefile44
-rw-r--r--games/gnomesudoku/distinfo6
-rw-r--r--games/gnomesudoku/pkg-plist63
3 files changed, 103 insertions, 10 deletions
diff --git a/games/gnomesudoku/Makefile b/games/gnomesudoku/Makefile
index db8fa1728aee..bcfa01df8cb9 100644
--- a/games/gnomesudoku/Makefile
+++ b/games/gnomesudoku/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnomesudoku
-PORTVERSION= 0.4.0
+PORTVERSION= 0.5.0
#PORTREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -19,11 +19,47 @@ COMMENT= GNOME Sudoku game
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric \
${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
-BROKEN= Configure fails
+.if !defined(DISPLAY)
+BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
+ ${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
+.if !defined(PACKAGE_BUILDING)
+MAKE_ENV+= DISPLAY="localhost:1001"
+.endif
+.endif
USE_X_PREFIX= yes
-USE_PYTHON= yes
+USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
-USE_GNOME= pygnome2 pygnomeextras
+USE_GNOME= gnomehack gnomeprefix pygnome2 pygnomedesktop
+
+.if !defined(DISPLAY)
+pre-configure:
+ @if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
+ ${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
+ ${RM} -f ${WRKDIR}/.Xvfb.pid ; \
+ fi
+ ${X11BASE}/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
+ ${X11BASE}/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>
diff --git a/games/gnomesudoku/distinfo b/games/gnomesudoku/distinfo
index 29b614edea5e..4615a1a79986 100644
--- a/games/gnomesudoku/distinfo
+++ b/games/gnomesudoku/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome-sudoku-0.4.0.tar.gz) = 2d237030a9e251760d968211f586c19e
-SHA256 (gnome-sudoku-0.4.0.tar.gz) = 3b8fbcde2371e79a3b8b6365cd7ce7f51f27b13cfa59441ad1eef4e6419be926
-SIZE (gnome-sudoku-0.4.0.tar.gz) = 126431
+MD5 (gnome-sudoku-0.5.0.tar.gz) = dc512c8e47c210ac8eedad2b055f81f8
+SHA256 (gnome-sudoku-0.5.0.tar.gz) = b57e5e84c4e605302c87926a62f039855e9cdaabec972979a81ed4626a77d84d
+SIZE (gnome-sudoku-0.5.0.tar.gz) = 180218
diff --git a/games/gnomesudoku/pkg-plist b/games/gnomesudoku/pkg-plist
index 290d652af68e..2124e4f5b90b 100644
--- a/games/gnomesudoku/pkg-plist
+++ b/games/gnomesudoku/pkg-plist
@@ -1,10 +1,16 @@
bin/gnome-sudoku
+%%PYTHON_SITELIBDIR%%/gnome_sudoku/SuperEntry.py
+%%PYTHON_SITELIBDIR%%/gnome_sudoku/SuperEntry.pyc
+%%PYTHON_SITELIBDIR%%/gnome_sudoku/SuperEntry.pyo
%%PYTHON_SITELIBDIR%%/gnome_sudoku/__init__.py
%%PYTHON_SITELIBDIR%%/gnome_sudoku/__init__.pyc
%%PYTHON_SITELIBDIR%%/gnome_sudoku/__init__.pyo
%%PYTHON_SITELIBDIR%%/gnome_sudoku/defaults.py
%%PYTHON_SITELIBDIR%%/gnome_sudoku/defaults.pyc
%%PYTHON_SITELIBDIR%%/gnome_sudoku/defaults.pyo
+%%PYTHON_SITELIBDIR%%/gnome_sudoku/dialog_swallower.py
+%%PYTHON_SITELIBDIR%%/gnome_sudoku/dialog_swallower.pyc
+%%PYTHON_SITELIBDIR%%/gnome_sudoku/dialog_swallower.pyo
%%PYTHON_SITELIBDIR%%/gnome_sudoku/game_selector.py
%%PYTHON_SITELIBDIR%%/gnome_sudoku/game_selector.pyc
%%PYTHON_SITELIBDIR%%/gnome_sudoku/game_selector.pyo
@@ -54,7 +60,6 @@ bin/gnome-sudoku
%%PYTHON_SITELIBDIR%%/gnome_sudoku/timer.pyc
%%PYTHON_SITELIBDIR%%/gnome_sudoku/timer.pyo
share/applications/gnome-sudoku.desktop
-share/gnome-sudoku/FAQ
share/gnome-sudoku/Footprints.svg
share/gnome-sudoku/Winner.png
share/gnome-sudoku/Winner.svg
@@ -67,9 +72,61 @@ share/gnome-sudoku/starter_puzzles
share/gnome-sudoku/sudoku.png
share/gnome-sudoku/sudoku.svg
share/gnome-sudoku/tracker.glade
+share/locale/af/LC_MESSAGES/gnome-sudoku.mo
+share/locale/ar/LC_MESSAGES/gnome-sudoku.mo
+share/locale/bn/LC_MESSAGES/gnome-sudoku.mo
+share/locale/da/LC_MESSAGES/gnome-sudoku.mo
+share/locale/de/LC_MESSAGES/gnome-sudoku.mo
+share/locale/en_GB/LC_MESSAGES/gnome-sudoku.mo
+share/locale/eo/LC_MESSAGES/gnome-sudoku.mo
+share/locale/es/LC_MESSAGES/gnome-sudoku.mo
+share/locale/fr/LC_MESSAGES/gnome-sudoku.mo
+share/locale/hu/LC_MESSAGES/gnome-sudoku.mo
+share/locale/ku/LC_MESSAGES/gnome-sudoku.mo
+share/locale/nl/LC_MESSAGES/gnome-sudoku.mo
+share/locale/pl/LC_MESSAGES/gnome-sudoku.mo
+share/locale/ro/LC_MESSAGES/gnome-sudoku.mo
+share/locale/sv/LC_MESSAGES/gnome-sudoku.mo
+share/locale/tr/LC_MESSAGES/gnome-sudoku.mo
+share/locale/uk/LC_MESSAGES/gnome-sudoku.mo
share/pixmaps/sudoku.png
@dirrm share/gnome-sudoku
+@dirrmtry share/locale/uk/LC_MESSAGES
+@dirrmtry share/locale/uk
+@dirrmtry share/locale/tr/LC_MESSAGES
+@dirrmtry share/locale/tr
+@dirrmtry share/locale/sv/LC_MESSAGES
+@dirrmtry share/locale/sv
+@dirrmtry share/locale/ro/LC_MESSAGES
+@dirrmtry share/locale/ro
+@dirrmtry share/locale/pl/LC_MESSAGES
+@dirrmtry share/locale/pl
+@dirrmtry share/locale/nl/LC_MESSAGES
+@dirrmtry share/locale/nl
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/hu/LC_MESSAGES
+@dirrmtry share/locale/hu
+@dirrmtry share/locale/fr/LC_MESSAGES
+@dirrmtry share/locale/fr
+@dirrmtry share/locale/es/LC_MESSAGES
+@dirrmtry share/locale/es
+@dirrmtry share/locale/eo/LC_MESSAGES
+@dirrmtry share/locale/eo
+@dirrmtry share/locale/en_GB/LC_MESSAGES
+@dirrmtry share/locale/en_GB
+@dirrmtry share/locale/de/LC_MESSAGES
+@dirrmtry share/locale/de
+@dirrmtry share/locale/da/LC_MESSAGES
+@dirrmtry share/locale/da
+@dirrmtry share/locale/bn/LC_MESSAGES
+@dirrmtry share/locale/bn
+@dirrmtry share/locale/ar/LC_MESSAGES
+@dirrmtry share/locale/ar
+@dirrmtry share/locale/af/LC_MESSAGES
+@dirrmtry share/locale/af
+@dirrmtry share/locale
@dirrm %%PYTHON_SITELIBDIR%%/gnome_sudoku/gtk_goodies
@dirrm %%PYTHON_SITELIBDIR%%/gnome_sudoku
-@unexec /bin/rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || /usr/bin/true
-@unexec /bin/rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || /usr/bin/true
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%