source: build-files/ports-overlay/editors/openoffice-devel/files/Makefile.others @ d9f825f

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since d9f825f was d9f825f, checked in by Kris Moore <kris@…>, 10 months ago

Mark openoffice-devel as broken, don't need to keep wasting 4-5 hours
compiling it

  • Property mode set to 100644
File size: 3.2 KB
Line 
1# Makefile for other stuffs
2# Whom:         Maho Nakata <maho@FreeBSD.org>
3# $FreeBSD: editors/openoffice-devel/files/Makefile.others 300896 2012-07-14 13:54:48Z beat $
4
5#other stuffs which are not directly related to making ports
6#package-rename: rename package for uploading
7#package-canonical: making official packages (WIP)
8#ure:  URE (Uno Runtime Environment) packages (WIP)
9#solver: solver
10#languagepack: language pack
11
12package-rename:
13        @${ECHO_MSG} "===>   Rename package for Apache OpenOffice mirror upload";
14        @${LN} ${PKGFILE} \
15                ${WRKDIR}/../OOo-Dev_${PACKAGE_BASENAME}_install_${LOCALIZED_LANG}${PKG_SUFX}
16
17package-canonical:
18        @${ECHO_MSG} "===>   Canonical packaging for Apache OpenOffice";
19        @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd/ ;\
20        ${TAR} cfj ${WRKDIR}/../OOo-Dev_${PACKAGE_BASENAME}_native_install_${LOCALIZED_LANG}${PKG_SUFX} .
21
22sdk:
23        @${ECHO_MSG} "===>   Make SDK of Apache OpenOffice"
24        @${RM} -fr ${WRKDIR}/sdk_tmp
25        @${MKDIR} ${WRKDIR}/sdk_tmp
26        @cd ${WRKDIR}/sdk_tmp ; \
27                ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_SDK/bsd/install/${LOCALIZED_LANG}/freebsd/ooobasis*.t?z
28        @cd ${WRKDIR}/sdk_tmp/opt/openoffice* ; \
29                ${MKDIR} ../${INSTALLATION_BASEDIR}_sdk ; \
30                ${MV} * ../${INSTALLATION_BASEDIR}_sdk ; cd .. ; \
31                ${TAR} cfj ${WRKDIR}/../OOo-Dev-SDK_${PACKAGE_BASENAME}_install_en-US.tbz ${INSTALLATION_BASEDIR}_sdk
32
33ure:
34        @${ECHO_MSG} "===>   Make Uno Runtime Environment of Apache OpenOffice"
35        @${RM} -fr ${WRKDIR}/ure_tmp
36        @${MKDIR} ${WRKDIR}/ure_tmp
37        @cd ${WRKDIR}/ure_tmp ; \
38                ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/URE/bsd/install/${LOCALIZED_LANG}/freebsd/openoffice*.t?z
39        @cd ${WRKDIR}/ure_tmp/opt/openoffice* ; \
40                ${MKDIR} ../${INSTALLATION_BASEDIR} ; \
41                ${MV} * ../${INSTALLATION_BASEDIR} ; cd .. ; \
42                ${TAR} cfj ${WRKDIR}/../OOo-Dev-URE_${PACKAGE_BASENAME}_install_en-US.tbz ${INSTALLATION_BASEDIR}
43
44solver:
45        @${ECHO_MSG} "===>   Make Solver of Apache OpenOffice"
46        @cd ${WRKSRC} ; ${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_solver.tar.bz2 solver
47
48languagepack:
49        @${ECHO_MSG} "===>   Make languagepack of Apache OpenOffice"
50.if defined (ALL_LOCALIZED_LANGS)
51        @cd ${WRKSRC} ; ${BASH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack'
52.else
53        @cd ${WRKSRC} ; ${BASH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack_${LOCALIZED_LANG}'
54.endif
55
56.if !defined (ALL_LOCALIZED_LANGS)
57        @${RM} -fr ${WRKDIR}/langpack_tmp
58        @${MKDIR} ${WRKDIR}/langpack_tmp
59.if defined (LOCALIZED_LANG)
60        @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/${LOCALIZED_LANG}/freebsd/ ; ls openoffice*.t?z ooobasis*.t?z > ${WRKDIR}/${LOCALIZED_LANG}_LANGPACK
61        @cd ${WRKDIR}/langpack_tmp ; \
62        for i in `${CAT} ${WRKDIR}/${LOCALIZED_LANG}_LANGPACK`; do \
63                ${ECHO_CMD} "extracting $$i" ; \
64                cd ${WRKDIR}/langpack_tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/${LOCALIZED_LANG}/freebsd/$$i ; \
65        done
66        @cd ${WRKDIR}/langpack_tmp/opt/ ; \
67                ${MKDIR} ../${INSTALLATION_BASEDIR} ; \
68                ${MV} * ../${INSTALLATION_BASEDIR} ; cd .. ; \
69                ${TAR} cfj ${WRKDIR}/../OOo-Dev_${PACKAGE_BASENAME}_langpack_${LOCALIZED_LANG}.tbz ${INSTALLATION_BASEDIR}
70.endif
71.endif
Note: See TracBrowser for help on using the repository browser.