aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/wine-devel/Makefile3
-rw-r--r--emulators/wine/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index bedd863509ed..cf062852599e 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/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}
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}