aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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