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-3 | |
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
Notes
Notes:
svn path=/head/; revision=181401
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r-- | editors/openoffice-3/Makefile | 6 | ||||
-rw-r--r-- | editors/openoffice-3/files/Makefile.localized | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile index 7a65ebcbc729..91c3f47bd9db 100644 --- a/editors/openoffice-3/Makefile +++ b/editors/openoffice-3/Makefile @@ -263,10 +263,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 \ diff --git a/editors/openoffice-3/files/Makefile.localized b/editors/openoffice-3/files/Makefile.localized index 410647cd4dff..584a01df7b8b 100644 --- a/editors/openoffice-3/files/Makefile.localized +++ b/editors/openoffice-3/files/Makefile.localized @@ -341,4 +341,7 @@ BUILD_DEPENDS+= ${PREFIX}/share/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/ LANG_PKGNAME= ${LOCALIZED_LANG} .endif ################################################################ +.if ${LOCALIZED_LANG} == "all" +ALL_LOCALIZED_LANGS=yes +.endif .endif |