aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-28 19:56:02 +0800
committerknu <knu@FreeBSD.org>2000-10-28 19:56:02 +0800
commit2f4bb07f426c7e7e1f6e9fdb8a5ea99fd187e18e (patch)
treeb2365aabc1ca3071a2e3534eceaa305e34da53a3 /graphics
parentb3597cfb98a592b4709ffc40c7f89fdc5efc5dbb (diff)
downloadfreebsd-ports-gnome-2f4bb07f426c7e7e1f6e9fdb8a5ea99fd187e18e.tar.gz
freebsd-ports-gnome-2f4bb07f426c7e7e1f6e9fdb8a5ea99fd187e18e.tar.zst
freebsd-ports-gnome-2f4bb07f426c7e7e1f6e9fdb8a5ea99fd187e18e.zip
Properly rmdir share/examples/%%PYTHON_VERSION%% on deinstallation.
Submitted by: bento
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-ming/Makefile1
-rw-r--r--graphics/py-ming/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile
index b2ef03f0ea53..5713bd1ae03e 100644
--- a/graphics/py-ming/Makefile
+++ b/graphics/py-ming/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ming
PORTVERSION= 0.0.3a
+PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= http://www.opaque.net/ming/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/graphics/py-ming/pkg-plist b/graphics/py-ming/pkg-plist
index 419fb152dcc2..a54644e14f6f 100644
--- a/graphics/py-ming/pkg-plist
+++ b/graphics/py-ming/pkg-plist
@@ -3,3 +3,4 @@ lib/%%PYTHON_VERSION%%/site-packages/ming.py
share/examples/%%PYTHON_VERSION%%/ming/shape.py
share/examples/%%PYTHON_VERSION%%/ming/test.py
@dirrm share/examples/%%PYTHON_VERSION%%/ming
+@unexec rmdir %D/share/examples/%%PYTHON_VERSION%% 2>/dev/null || true