aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-07-17 16:32:16 +0800
committermbr <mbr@FreeBSD.org>2002-07-17 16:32:16 +0800
commitb259bceea6408d352efc516ff5d912cfcfd2ea64 (patch)
tree27725199a5f4f183ed6592797b1eee810e236624 /editors
parent21ead5622cf84e9da516ab9a6c38a9672e1ca28f (diff)
downloadfreebsd-ports-gnome-b259bceea6408d352efc516ff5d912cfcfd2ea64.tar.gz
freebsd-ports-gnome-b259bceea6408d352efc516ff5d912cfcfd2ea64.tar.zst
freebsd-ports-gnome-b259bceea6408d352efc516ff5d912cfcfd2ea64.zip
Location of dictfiles has changed.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/Makefile7
-rw-r--r--editors/openoffice.org-1.0/Makefile7
-rw-r--r--editors/openoffice/Makefile7
3 files changed, 12 insertions, 9 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index d93c7c669c55..7acb647ee826 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -31,6 +31,7 @@ CUT?= /usr/bin/cut
INSTALLATION_BASEDIR= OpenOffice.org1.0
DIST_SUBDIR= openoffice
+DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
#
# configuration for language specific slave ports
#
@@ -114,7 +115,7 @@ EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
EXTRACT_CMD_R= ${GZIP_CMD}
EXTRACT_CMD_L?= unzip
EXTRACT_BEFORE_ARGS_L?= -q -o
-EXTRACT_AFTER_ARGS_L?= -d ${WRKDIR}
+EXTRACT_AFTER_ARGS_L?= -d ${DICT_DIR}
EXTRACT_REST= gpc231.tar.Z ${MOZILLADIST} oo_moz_1.0_includes.tgz
JDK13DIR?= ${LOCALBASE}/jdk1.3.1
@@ -345,7 +346,7 @@ install-user:
post-install:
@${ECHO_MSG} "===> Add spelling dictionaries";
@for file in ${EXTRACT_LANGDIST}; do \
- if ! (cd ${PREFIX}/${INSTALLATION_BASEDIR}/user/wordbook && ${EXTRACT_CMD_L} \
+ if ! (cd ${DICTDIR}/ && ${EXTRACT_CMD_L} \
${EXTRACT_BEFORE_ARGS_L} \
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_L}) ; \
then \
@@ -355,7 +356,7 @@ post-install:
COUNTRY=`${ECHO_CMD} $$ABRV | ${SED} -e 's|_.*||'`; \
LANGUAGE=`${ECHO_CMD} $$ABRV | ${SED} -e 's|.*_||' | ${CUT} -c 1,2`; \
${ECHO_CMD} "DICT $$COUNTRY $$LANGUAGE $$ABRV" >> \
- ${PREFIX}/${INSTALLATION_BASEDIR}/user/wordbook/dictionary.lst ; \
+ ${DICT_DIR}/dictionary.lst ; \
done
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile
index d93c7c669c55..7acb647ee826 100644
--- a/editors/openoffice.org-1.0/Makefile
+++ b/editors/openoffice.org-1.0/Makefile
@@ -31,6 +31,7 @@ CUT?= /usr/bin/cut
INSTALLATION_BASEDIR= OpenOffice.org1.0
DIST_SUBDIR= openoffice
+DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
#
# configuration for language specific slave ports
#
@@ -114,7 +115,7 @@ EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
EXTRACT_CMD_R= ${GZIP_CMD}
EXTRACT_CMD_L?= unzip
EXTRACT_BEFORE_ARGS_L?= -q -o
-EXTRACT_AFTER_ARGS_L?= -d ${WRKDIR}
+EXTRACT_AFTER_ARGS_L?= -d ${DICT_DIR}
EXTRACT_REST= gpc231.tar.Z ${MOZILLADIST} oo_moz_1.0_includes.tgz
JDK13DIR?= ${LOCALBASE}/jdk1.3.1
@@ -345,7 +346,7 @@ install-user:
post-install:
@${ECHO_MSG} "===> Add spelling dictionaries";
@for file in ${EXTRACT_LANGDIST}; do \
- if ! (cd ${PREFIX}/${INSTALLATION_BASEDIR}/user/wordbook && ${EXTRACT_CMD_L} \
+ if ! (cd ${DICTDIR}/ && ${EXTRACT_CMD_L} \
${EXTRACT_BEFORE_ARGS_L} \
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_L}) ; \
then \
@@ -355,7 +356,7 @@ post-install:
COUNTRY=`${ECHO_CMD} $$ABRV | ${SED} -e 's|_.*||'`; \
LANGUAGE=`${ECHO_CMD} $$ABRV | ${SED} -e 's|.*_||' | ${CUT} -c 1,2`; \
${ECHO_CMD} "DICT $$COUNTRY $$LANGUAGE $$ABRV" >> \
- ${PREFIX}/${INSTALLATION_BASEDIR}/user/wordbook/dictionary.lst ; \
+ ${DICT_DIR}/dictionary.lst ; \
done
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile
index d93c7c669c55..7acb647ee826 100644
--- a/editors/openoffice/Makefile
+++ b/editors/openoffice/Makefile
@@ -31,6 +31,7 @@ CUT?= /usr/bin/cut
INSTALLATION_BASEDIR= OpenOffice.org1.0
DIST_SUBDIR= openoffice
+DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
#
# configuration for language specific slave ports
#
@@ -114,7 +115,7 @@ EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
EXTRACT_CMD_R= ${GZIP_CMD}
EXTRACT_CMD_L?= unzip
EXTRACT_BEFORE_ARGS_L?= -q -o
-EXTRACT_AFTER_ARGS_L?= -d ${WRKDIR}
+EXTRACT_AFTER_ARGS_L?= -d ${DICT_DIR}
EXTRACT_REST= gpc231.tar.Z ${MOZILLADIST} oo_moz_1.0_includes.tgz
JDK13DIR?= ${LOCALBASE}/jdk1.3.1
@@ -345,7 +346,7 @@ install-user:
post-install:
@${ECHO_MSG} "===> Add spelling dictionaries";
@for file in ${EXTRACT_LANGDIST}; do \
- if ! (cd ${PREFIX}/${INSTALLATION_BASEDIR}/user/wordbook && ${EXTRACT_CMD_L} \
+ if ! (cd ${DICTDIR}/ && ${EXTRACT_CMD_L} \
${EXTRACT_BEFORE_ARGS_L} \
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_L}) ; \
then \
@@ -355,7 +356,7 @@ post-install:
COUNTRY=`${ECHO_CMD} $$ABRV | ${SED} -e 's|_.*||'`; \
LANGUAGE=`${ECHO_CMD} $$ABRV | ${SED} -e 's|.*_||' | ${CUT} -c 1,2`; \
${ECHO_CMD} "DICT $$COUNTRY $$LANGUAGE $$ABRV" >> \
- ${PREFIX}/${INSTALLATION_BASEDIR}/user/wordbook/dictionary.lst ; \
+ ${DICT_DIR}/dictionary.lst ; \
done
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}