aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-08-17 12:56:54 +0800
committerbland <bland@FreeBSD.org>2004-08-17 12:56:54 +0800
commitd8b692405312e3908851eef77449ca2a7f0c9ce2 (patch)
tree1704cf364289ea73bf34ebaec0635338e2451ad2
parent39bff6c1f7336c4e29a465637624550e8b3741be (diff)
downloadfreebsd-ports-gnome-d8b692405312e3908851eef77449ca2a7f0c9ce2.tar.gz
freebsd-ports-gnome-d8b692405312e3908851eef77449ca2a7f0c9ce2.tar.zst
freebsd-ports-gnome-d8b692405312e3908851eef77449ca2a7f0c9ce2.zip
- Fix shared directories cleanup [1]
- Respect %%PORTDOCS%% when cleanup documentation directories. Reported by: pointyhat
-rw-r--r--devel/libglademm24/pkg-plist13
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/libglademm24/pkg-plist b/devel/libglademm24/pkg-plist
index 4856ea90ff02..770641af6559 100644
--- a/devel/libglademm24/pkg-plist
+++ b/devel/libglademm24/pkg-plist
@@ -171,11 +171,14 @@ libdata/pkgconfig/libglademm-%%API_VERSION%%.pc
%%PORTDOCS%%share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs/reference/html/namespaces.html
%%PORTDOCS%%share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs/reference/html/variablesmap_8h.html
%%PORTDOCS%%share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs/reference/html/xml_8h.html
-@dirrm share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs/reference/html
-@dirrm share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs/reference
-@dirrm share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs
-@dirrm share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%
-@dirrm share/devhelp/books/libglademm-%%API_VERSION%%
+%%PORTDOCS%%@dirrm share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs/reference/html
+%%PORTDOCS%%@dirrm share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs/reference
+%%PORTDOCS%%@dirrm share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%/docs
+%%PORTDOCS%%@dirrm share/doc/gnomemm-2.6/libglademm-%%API_VERSION%%
+%%PORTDOCS%%@unexec /bin/rmdir %D/share/doc/gnomemm-2.6 2> /dev/null || /usr/bin/true
+%%PORTDOCS%%@dirrm share/devhelp/books/libglademm-%%API_VERSION%%
+%%PORTDOCS%%@unexec /bin/rmdir %D/share/devhelp/books 2> /dev/null || /usr/bin/true
+%%PORTDOCS%%@unexec /bin/rmdir %D/share/devhelp 2> /dev/null || /usr/bin/true
@dirrm lib/libglademm-%%API_VERSION%%/proc/m4
@dirrm lib/libglademm-%%API_VERSION%%/proc
@dirrm lib/libglademm-%%API_VERSION%%/include