mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Be sure to remove ${X11BASE}/share/gnome and ${LOCALBASE}/share/gnome and
not just ${X11BASE}/share/gnome/applications and ${LOCALBASE}/share/gnome/applications. Reported by: pointyhat via kris Approved by: portmgr (implicit)
This commit is contained in:
parent
135475e720
commit
4fb92d7725
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156818
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= desktop-file-utils
|
||||
PORTVERSION= 0.10
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/releases/
|
||||
|
||||
@ -36,11 +36,16 @@ MIMEDIRS= ${PORT_MIMEDIRS} \
|
||||
/usr/share/applications \
|
||||
/usr/share/gnome/applications
|
||||
|
||||
RMDIRS= ${PORT_MIMEDIRS} \
|
||||
${LOCALBASE}/share/gnome \
|
||||
${X11BASE}/share/gnome
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
|
||||
s|%%X11BASE%%|${X11BASE}|g' \
|
||||
${WRKSRC}/src/eggdirfuncs.c
|
||||
@${SED} -e 's|%%MIMEDIRS%%|${MIMEDIRS}| ;\
|
||||
s|%%RMDIRS%%|${RMDIRS}| ; \
|
||||
s|%%PORT_MIMEDIRS%%|${PORT_MIMEDIRS}|' \
|
||||
< ${FILESDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
|
||||
@${SED} -e 's|%%PORT_MIMEDIRS%%|${PORT_MIMEDIRS}|' \
|
||||
|
@ -14,7 +14,7 @@ for mdir in %%MIMEDIRS%%; do
|
||||
fi
|
||||
done
|
||||
|
||||
for pmdir in %%PORT_MIMEDIRS%%; do
|
||||
for pmdir in $(echo %%RMDIRS%% | sort -r); do
|
||||
rmdir ${pmdir} 2>/dev/null
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user