aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/tint/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/tint/Makefile b/x11/tint/Makefile
index 25fdd5d04e00..7688ae2a503d 100644
--- a/x11/tint/Makefile
+++ b/x11/tint/Makefile
@@ -37,6 +37,11 @@ post-patch:
@${SED} -e 's#/usr/bin#/bin#g' \
${WRKSRC}/Makefile.dist > ${WRKSRC}/Makefile
+pre-install:
+ ${ECHO} "rmdir ${X11BASE}/etc/xdg 2>/dev/null || true" > \
+ ${WRKDIR}/pkg-deinstall
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}