aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2005-10-12 18:01:28 +0800
committertg <tg@FreeBSD.org>2005-10-12 18:01:28 +0800
commit05f98e07cad6f9a1f2629353b1228e6d7808a74b (patch)
tree66dd7a17d128e62cc9438ca4fc1ac5f4aa3d06a1 /games
parent3660dad2759d714ccabdcb359e6de81a9a88fd44 (diff)
downloadfreebsd-ports-gnome-05f98e07cad6f9a1f2629353b1228e6d7808a74b.tar.gz
freebsd-ports-gnome-05f98e07cad6f9a1f2629353b1228e6d7808a74b.tar.zst
freebsd-ports-gnome-05f98e07cad6f9a1f2629353b1228e6d7808a74b.zip
Remove empty directories on deinstallation.
Diffstat (limited to 'games')
-rw-r--r--games/gnomesudoku/Makefile2
-rw-r--r--games/gnomesudoku/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/games/gnomesudoku/Makefile b/games/gnomesudoku/Makefile
index 3a985c78563c..c45ab8e145c7 100644
--- a/games/gnomesudoku/Makefile
+++ b/games/gnomesudoku/Makefile
@@ -18,8 +18,6 @@ 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= Incomplete pkg-plist
-
USE_X_PREFIX= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
diff --git a/games/gnomesudoku/pkg-plist b/games/gnomesudoku/pkg-plist
index eba7e483e3be..3a1f4d170154 100644
--- a/games/gnomesudoku/pkg-plist
+++ b/games/gnomesudoku/pkg-plist
@@ -68,3 +68,5 @@ share/pixmaps/sudoku.png
@dirrm share/gnome-sudoku
@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