aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3-devel
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2006-11-03 23:37:04 +0800
committerjkim <jkim@FreeBSD.org>2006-11-03 23:37:04 +0800
commit8261fb629a96919fc96cf9168a50b68be3e75480 (patch)
tree0d64d9a0efd96af60e885637ed2aac3bd7ee7dd5 /editors/openoffice-3-devel
parent6ff169c09c92aad2b6ed2703a7d8a7a071f14a52 (diff)
downloadfreebsd-ports-gnome-8261fb629a96919fc96cf9168a50b68be3e75480.tar.gz
freebsd-ports-gnome-8261fb629a96919fc96cf9168a50b68be3e75480.tar.zst
freebsd-ports-gnome-8261fb629a96919fc96cf9168a50b68be3e75480.zip
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)
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r--editors/openoffice-3-devel/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index cc9b285f6a14..acb0c2e4587c 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-devel/Makefile
@@ -257,10 +257,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 \
@@ -275,7 +274,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}