aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-12-26 09:57:58 +0800
committermaho <maho@FreeBSD.org>2006-12-26 09:57:58 +0800
commitaed74e3a39397422e43cc5b1d188856c2f90c981 (patch)
tree550b8741ad22c7f35cad0ad5fbec6d22d3cec9fe /editors
parent27b4207451384c39c459b2108dc6dbb05b7f01e9 (diff)
downloadfreebsd-ports-graphics-aed74e3a39397422e43cc5b1d188856c2f90c981.tar.gz
freebsd-ports-graphics-aed74e3a39397422e43cc5b1d188856c2f90c981.tar.zst
freebsd-ports-graphics-aed74e3a39397422e43cc5b1d188856c2f90c981.zip
* Now we can launche OOo from menu.
* marked as broken as openoffice.org-2 and openoffice.org-2-RC are identical.
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 4a1d2af5a1e..e817302078e 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 4a1d2af5a1e..e817302078e 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