diff options
author | Maho Nakata <maho@FreeBSD.org> | 2007-01-04 12:48:08 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2007-01-04 12:48:08 +0000 |
commit | 9f18b4bb71ebefcf935b8a50e1b2b5a9480c5c54 (patch) | |
tree | cb7155fb408d6188d24b58e2705dfcebffa515f5 /editors/openoffice.org-3-RC/Makefile | |
parent | - Update to 2.5 (diff) |
Use ${DESKTOPDIR} instead of using ${PREFIX}/share/applications.
It is already defined in ports/Mk/bsd.port.mk.
Submitted by: jkim
Diffstat (limited to 'editors/openoffice.org-3-RC/Makefile')
-rw-r--r-- | editors/openoffice.org-3-RC/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice.org-3-RC/Makefile b/editors/openoffice.org-3-RC/Makefile index 082bd04e0924..7d287326b467 100644 --- a/editors/openoffice.org-3-RC/Makefile +++ b/editors/openoffice.org-3-RC/Makefile @@ -265,10 +265,10 @@ post-install: ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/$${app}.desktop ; \ done @${RM} ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop.bak - @${RM} -f ${PREFIX}/share/applications/${EXECBASE} - @${MKDIR} ${PREFIX}/share/applications + @${RM} -f ${DESKTOPDIR}/${EXECBASE} + @${MKDIR} ${DESKTOPDIR} @${LN} -sf ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg \ - ${PREFIX}/share/applications/${EXECBASE} + ${DESKTOPDIR}/${EXECBASE} @${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @for dir in `ls ${ICONS}/hicolor | ${GREP} -v CVS`; do \ |