aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/wine
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2010-03-07 23:15:50 +0800
committergerald <gerald@FreeBSD.org>2010-03-07 23:15:50 +0800
commitdff051aa46ad47a36a68cf182a0f6501f48aa546 (patch)
tree219df47981ca4b9607eb6d0ff81f08e4f9e252ee /emulators/wine
parent581f6dd9c83182c4c5c4c55010377598fb108b47 (diff)
downloadfreebsd-ports-gnome-dff051aa46ad47a36a68cf182a0f6501f48aa546.tar.gz
freebsd-ports-gnome-dff051aa46ad47a36a68cf182a0f6501f48aa546.tar.zst
freebsd-ports-gnome-dff051aa46ad47a36a68cf182a0f6501f48aa546.zip
Remove ${DATADIR}/applications during installation; it is always empty.
Feature safe: yes
Diffstat (limited to 'emulators/wine')
-rw-r--r--emulators/wine/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index bedd863509ed..cf062852599e 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -120,7 +120,8 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedump
.endif
@${MKDIR} ${DESKTOPDIR}
- @${MV} ${DATADIR}/applications/wine.desktop ${DESKTOPDIR}/
+ ${MV} ${DATADIR}/applications/wine.desktop ${DESKTOPDIR}/
+ @${RMDIR} ${DATADIR}/applications
@${ECHO}
@${CAT} ${PKGMESSAGE}