1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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.
This commit is contained in:
Doug Barton 2008-07-25 18:44:03 +00:00
parent 10009372ec
commit 62fae5adc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217499

View File

@ -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}