aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-02-15 02:49:19 +0800
committermarcus <marcus@FreeBSD.org>2005-02-15 02:49:19 +0800
commitb6542183a330a750618fb67eef21be61ab5259f8 (patch)
tree65d4d4cc9a7d2c34412e5bdbdf5f3ed7784a52d7 /deskutils
parent65103d066a36dbde9354eede48b6a1124eb7bc91 (diff)
downloadfreebsd-ports-gnome-b6542183a330a750618fb67eef21be61ab5259f8.tar.gz
freebsd-ports-gnome-b6542183a330a750618fb67eef21be61ab5259f8.tar.zst
freebsd-ports-gnome-b6542183a330a750618fb67eef21be61ab5259f8.zip
Clean up the Python lib and sitelib directories if they are empty. O the
burdens of installing Python modules into X11BASE... Reported by: pointyhat via kris
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gnome-blog/pkg-plist2
-rw-r--r--deskutils/gnomeblog/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/deskutils/gnome-blog/pkg-plist b/deskutils/gnome-blog/pkg-plist
index 632733943471..cffeff15dd26 100644
--- a/deskutils/gnome-blog/pkg-plist
+++ b/deskutils/gnome-blog/pkg-plist
@@ -54,3 +54,5 @@ share/gnome/applications/gnome-blog.desktop
share/gnome/gnome-2.0/ui/GNOME_BlogApplet.xml
share/gnome/pixmaps/gnome-blog.png
@dirrm %%PYTHON_SITELIBDIR%%/gnomeblog
+@unexec rmdir %%PYTHON_SITELIBDIR%% 2>/dev/null || true
+@unexec rmdir %%PYTHON_LIBDIR%% 2>/dev/null || true
diff --git a/deskutils/gnomeblog/pkg-plist b/deskutils/gnomeblog/pkg-plist
index 632733943471..cffeff15dd26 100644
--- a/deskutils/gnomeblog/pkg-plist
+++ b/deskutils/gnomeblog/pkg-plist
@@ -54,3 +54,5 @@ share/gnome/applications/gnome-blog.desktop
share/gnome/gnome-2.0/ui/GNOME_BlogApplet.xml
share/gnome/pixmaps/gnome-blog.png
@dirrm %%PYTHON_SITELIBDIR%%/gnomeblog
+@unexec rmdir %%PYTHON_SITELIBDIR%% 2>/dev/null || true
+@unexec rmdir %%PYTHON_LIBDIR%% 2>/dev/null || true