diff options
author | dougb <dougb@FreeBSD.org> | 2008-07-26 02:44:03 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2008-07-26 02:44:03 +0800 |
commit | 0820694edc29a33b0972ab8ebf4583799304c5b6 (patch) | |
tree | 6446e99ab7cef05fa784ad35fc738c6fd3ae1d00 /x11 | |
parent | 6db7b29ddfaa276ef1acc1232c3363072cd5f5d6 (diff) | |
download | freebsd-ports-gnome-0820694edc29a33b0972ab8ebf4583799304c5b6.tar.gz freebsd-ports-gnome-0820694edc29a33b0972ab8ebf4583799304c5b6.tar.zst freebsd-ports-gnome-0820694edc29a33b0972ab8ebf4583799304c5b6.zip |
Create a pkg-deinstall file to remove the ${X11BASE}/etc/xdg directory
if it's empty. I can't add it to PLIST_DIRS since other ports add stuff
there.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/tint/Makefile | 5 |
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} |