aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-RC
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-02-09 06:58:59 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-02-09 06:58:59 +0000
commit22aa5dc921f3c73cd0ab30f8f040dfbf0ab2403c (patch)
tree6e5fd226e9fec962926632e89de0a9b8b72e0de9 /editors/openoffice.org-2-RC
parent86a1133ffc3d2099dce9492ddccf8516f804c4c2 (diff)
downloadports-22aa5dc921f3c73cd0ab30f8f040dfbf0ab2403c.tar.gz
ports-22aa5dc921f3c73cd0ab30f8f040dfbf0ab2403c.zip
Notes
Diffstat (limited to 'editors/openoffice.org-2-RC')
-rw-r--r--editors/openoffice.org-2-RC/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/editors/openoffice.org-2-RC/Makefile b/editors/openoffice.org-2-RC/Makefile
index 1ea6a652c1ef..b86e55596455 100644
--- a/editors/openoffice.org-2-RC/Makefile
+++ b/editors/openoffice.org-2-RC/Makefile
@@ -150,20 +150,14 @@ do-build:
.endif
@cd ${WRKSRC} ; ${SETENV} "DEFAULT_TO_ENGLISH_FOR_PACKING=yes" ${TCSH} -c 'source FreeBSDEnv.Set ; dmake -P${NUMOFPROCESSES}'
-OOOFILES1= openofficeorg-calc.sw openofficeorg-core01.sw openofficeorg-core02.sw openofficeorg-core03.sw openofficeorg-core04.sw openofficeorg-core05.sw
-OOOFILES2= openofficeorg-core06.sw openofficeorg-core07.sw openofficeorg-core08.sw
-OOOFILES3= openofficeorg-draw.sw openofficeorg-graphicfilter.sw openofficeorg-impress.sw
-OOOFILES4= openofficeorg-javafilter.sw openofficeorg-math.sw openofficeorg-spellcheck.sw openofficeorg-testtool.sw openofficeorg-writer.sw openofficeorg-xsltfilter.sw
-
do-install:
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/install/${LOCALIZED_LANG}/freebsd-*/ ; ${LS} *.sw > ${WRKDIR}/INSTALLFILES
@${RM} -Rf ${WRKDIR}/tmp
@${MKDIR} ${WRKDIR}/tmp
-.for i in ${OOOFILES1} ${OOOFILES2} ${OOOFILES3} ${OOOFILES4}
- @${CP} ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/install/${LOCALIZED_LANG}/freebsd-*/${i} ${WRKDIR}/tmp
-.endfor
-.for i in ${OOOFILES1} ${OOOFILES2} ${OOOFILES3} ${OOOFILES4}
- @cd ${WRKDIR}/tmp ; ${TAR} xf ${WRKDIR}/tmp/${i}
-.endfor
+ @for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
+ ${CP} ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/install/${LOCALIZED_LANG}/freebsd-*/$$i ${WRKDIR}/tmp ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xf ${WRKDIR}/tmp/$$i ; \
+ done
@${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
@cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}