aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libXres
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2007-06-01 22:19:03 +0800
committerlesi <lesi@FreeBSD.org>2007-06-01 22:19:03 +0800
commit9ff3a1e61eacd6c22dd4569d7209ed313e650819 (patch)
tree4f79af1fd975aa24b72e28bb8d88c5088b360c16 /x11/libXres
parent11f628e354e0c5baa9002bd6036bc4484dc69001 (diff)
downloadfreebsd-ports-gnome-9ff3a1e61eacd6c22dd4569d7209ed313e650819.tar.gz
freebsd-ports-gnome-9ff3a1e61eacd6c22dd4569d7209ed313e650819.tar.zst
freebsd-ports-gnome-9ff3a1e61eacd6c22dd4569d7209ed313e650819.zip
Create ${PREFIX}/share/X11/app-defaults directory upon install also in
port (package already did that). Be less strict at removing it upon deinstall. Bump revision for package contents change in last commit in pkg-plist.
Diffstat (limited to 'x11/libXres')
-rw-r--r--x11/libXres/Makefile4
-rw-r--r--x11/libXres/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/x11/libXres/Makefile b/x11/libXres/Makefile
index e4a52e9f8e3e..d236f80c8bb7 100644
--- a/x11/libXres/Makefile
+++ b/x11/libXres/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libXres
PORTVERSION= 1.0.3
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
@@ -22,4 +23,7 @@ MAN3= XRes.3 \
XResQueryExtension.3 \
XResQueryVersion.3
+post-install:
+ ${MKDIR} ${PREFIX}/share/X11/app-defaults
+
.include <bsd.port.mk>
diff --git a/x11/libXres/pkg-plist b/x11/libXres/pkg-plist
index 309f209d1d8e..9de732019606 100644
--- a/x11/libXres/pkg-plist
+++ b/x11/libXres/pkg-plist
@@ -4,6 +4,6 @@ lib/libXRes.la
lib/libXRes.so
lib/libXRes.so.1
libdata/pkgconfig/xres.pc
-@dirrm share/X11/app-defaults
+@dirrmtry share/X11/app-defaults
@dirrmtry share/X11
@exec mkdir -p %D/share/X11/app-defaults 2>/dev/null