diff options
author | Maho Nakata <maho@FreeBSD.org> | 2008-05-27 07:37:30 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2008-05-27 07:37:30 +0000 |
commit | b94ee5b4f0b2d632dda245433ad5c484dc956d20 (patch) | |
tree | b9970e353cf6bf63b4aad0157100627a4d4f2d1d /editors/openoffice.org-3/files/Makefile.others | |
parent | 18152579f420e42889df8508355fb2d18aca2578 (diff) | |
download | ports-b94ee5b4f0b2d632dda245433ad5c484dc956d20.tar.gz ports-b94ee5b4f0b2d632dda245433ad5c484dc956d20.zip |
Notes
Diffstat (limited to 'editors/openoffice.org-3/files/Makefile.others')
-rw-r--r-- | editors/openoffice.org-3/files/Makefile.others | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/openoffice.org-3/files/Makefile.others b/editors/openoffice.org-3/files/Makefile.others index 444a91beac69..f5848df41e31 100644 --- a/editors/openoffice.org-3/files/Makefile.others +++ b/editors/openoffice.org-3/files/Makefile.others @@ -57,9 +57,13 @@ languagepack: @${RM} -fr ${WRKDIR}/langpack_tmp @${MKDIR} ${WRKDIR}/langpack_tmp .if defined (LOCALIZED_LANG) + @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/${LOCALIZED_LANG}/freebsd-*/ ; ls openoffice*.t?z > ${WRKDIR}/${LOCALIZED_LANG}_LANGPACK @cd ${WRKDIR}/langpack_tmp ; \ - ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.t?z - @cd ${WRKDIR}/langpack_tmp/opt/openoffice* ; \ + for i in `${CAT} ${WRKDIR}/${LOCALIZED_LANG}_LANGPACK`; do \ + ${ECHO_CMD} "extracting $$i" ; \ + cd ${WRKDIR}/langpack_tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ; \ + done + @cd ${WRKDIR}/langpack_tmp/opt/ ; \ ${MKDIR} ../${INSTALLATION_BASEDIR} ; \ ${MV} * ../${INSTALLATION_BASEDIR} ; cd .. ; \ ${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_langpack_${LOCALIZED_LANG}.tar.bz2 ${INSTALLATION_BASEDIR} |