diff options
author | jkim <jkim@FreeBSD.org> | 2006-11-03 15:37:04 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2006-11-03 15:37:04 +0000 |
commit | 8261fb629a96919fc96cf9168a50b68be3e75480 (patch) | |
tree | 0d64d9a0efd96af60e885637ed2aac3bd7ee7dd5 /editors/openoffice.org-3-RC | |
parent | 6ff169c09c92aad2b6ed2703a7d8a7a071f14a52 (diff) | |
download | FreeBSD-ports-8261fb629a96919fc96cf9168a50b68be3e75480.zip FreeBSD-ports-8261fb629a96919fc96cf9168a50b68be3e75480.tar.gz |
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.org-3-RC')
-rw-r--r-- | editors/openoffice.org-3-RC/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/editors/openoffice.org-3-RC/Makefile b/editors/openoffice.org-3-RC/Makefile index fa4e3d1..f34e9c2 100644 --- a/editors/openoffice.org-3-RC/Makefile +++ b/editors/openoffice.org-3-RC/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} |