summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2006-12-26 01:57:58 +0000
committerMaho Nakata <maho@FreeBSD.org>2006-12-26 01:57:58 +0000
commita4be4a7326dc23d6f50d214594b93f28fe870db9 (patch)
tree24fbeb155d8950e02ba19d9c5b7ddb3619b82fbe /editors
parentAdd p5-Template-Plugin-VMethods 0.03, install vmethods for (diff)
* Now we can launche OOo from menu.
* marked as broken as openoffice.org-2 and openoffice.org-2-RC are identical.
Notes
Notes: svn path=/head/; revision=180753
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice.org-2-RC/Makefile6
-rw-r--r--editors/openoffice.org-3-RC/Makefile6
2 files changed, 12 insertions, 0 deletions
diff --git a/editors/openoffice.org-2-RC/Makefile b/editors/openoffice.org-2-RC/Makefile
index 4a1d2af5a1e9..e817302078ed 100644
--- a/editors/openoffice.org-2-RC/Makefile
+++ b/editors/openoffice.org-2-RC/Makefile
@@ -28,6 +28,8 @@ EXTRACT_ONLY= ${OOOSRC}
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(release branch)
+BROKEN= Please use editors/openoffice.org-2
+
NO_LATEST_LINK= yes
USE_GNOME= gtk20
MOZILLA_VERSION= 1.7.5
@@ -258,6 +260,10 @@ post-install:
@${ECHO_CMD} "" > ${TMPPLIST}
@${REINPLACE_CMD} -e '/^Exec/s/printeradmin/spadmin/' \
${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop
+ @for app in base calc draw impress math printeradmin writer; do \
+ ${REINPLACE_CMD} -e "s/^Exec.*/Exec=${EXECBASE} -$${app} %U/" \
+ ${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
diff --git a/editors/openoffice.org-3-RC/Makefile b/editors/openoffice.org-3-RC/Makefile
index 4a1d2af5a1e9..e817302078ed 100644
--- a/editors/openoffice.org-3-RC/Makefile
+++ b/editors/openoffice.org-3-RC/Makefile
@@ -28,6 +28,8 @@ EXTRACT_ONLY= ${OOOSRC}
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(release branch)
+BROKEN= Please use editors/openoffice.org-2
+
NO_LATEST_LINK= yes
USE_GNOME= gtk20
MOZILLA_VERSION= 1.7.5
@@ -258,6 +260,10 @@ post-install:
@${ECHO_CMD} "" > ${TMPPLIST}
@${REINPLACE_CMD} -e '/^Exec/s/printeradmin/spadmin/' \
${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop
+ @for app in base calc draw impress math printeradmin writer; do \
+ ${REINPLACE_CMD} -e "s/^Exec.*/Exec=${EXECBASE} -$${app} %U/" \
+ ${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