summaryrefslogtreecommitdiff
path: root/editors/openoffice-3
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2006-11-03 15:37:04 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2006-11-03 15:37:04 +0000
commit28fe5b4d58197f15e9d9cf6a733a86d36d832160 (patch)
tree1fe33f22c18f122ac30897b15b8a12feb35e5896 /editors/openoffice-3
parent- Some tweaks, no patch required (diff)
Install menus and icons for GNOME as well since GNOME is now installed on
${LOCALBASE}. Note we install *.desktop in ${LOCALBASE}/share/applications instead of ${LOCALBASE}/share/applnk, which is KDE-specific. Approved by: maho (maintainer)
Notes
Notes: svn path=/head/; revision=176281
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r--editors/openoffice-3/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile
index fa4e3d167ad8..f34e9c250c84 100644
--- a/editors/openoffice-3/Makefile
+++ b/editors/openoffice-3/Makefile
@@ -255,10 +255,9 @@ post-install:
-e '/^Exec/s/printeradmin/spadmin/' \
${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop
@${RM} ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop.bak
-.if defined(WITH_KDE)
@${LN} -sf ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg \
- ${PREFIX}/share/applnk/${EXECBASE}
- @${PRINTF} "share/applnk/${EXECBASE}\n" >> ${TMPPLIST}
+ ${PREFIX}/share/applications/${EXECBASE}
+ @${PRINTF} "share/applications/${EXECBASE}\n" >> ${TMPPLIST}
@for dir in `ls ${ICONS}/hicolor | ${GREP} -v CVS`; do \
for app in base calc draw impress math printeradmin writer; do \
if [ -r ${ICONS}/hicolor/$${dir}/apps/$${app}.png ]; then \
@@ -273,7 +272,6 @@ post-install:
${PRINTF} "share/icons/hicolor/$${dir}/mimetypes/$${file}\n" >> ${TMPPLIST} ; \
done ; \
done
-.endif
@cd ${PREFIX} ; ${FIND} -s bin -type f | ${GREP} ${EXECBASE} >> ${TMPPLIST}
@cd ${PREFIX} ; ${FIND} -s bin -type l | ${GREP} ${EXECBASE} >> ${TMPPLIST}
@cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}