summaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2-RC
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-02-09 06:58:59 +0000
committermaho <maho@FreeBSD.org>2005-02-09 06:58:59 +0000
commitcf837c4a67262f8ce3c1cde25ac0cdfe60bcf799 (patch)
treeaabcfad3425db4d8cd5d57be8dc22b0ab31444fe /editors/openoffice.org-2-RC
parent05e85b25b757498e3e926e60d4a6a1fda33deb92 (diff)
downloadFreeBSD-ports-cf837c4a67262f8ce3c1cde25ac0cdfe60bcf799.zip
FreeBSD-ports-cf837c4a67262f8ce3c1cde25ac0cdfe60bcf799.tar.gz
Introduced a flexible, better packaging method.
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 1ea6a65..b86e555 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}
OpenPOWER on IntegriCloud