diff options
author | maho <maho@FreeBSD.org> | 2007-01-08 06:20:16 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-01-08 06:20:16 +0800 |
commit | 6fbf1742e446466f2913c6ab285c458c417c64c1 (patch) | |
tree | f64ee2e38dc05c80f03795a666488cde99de4e67 /editors/openoffice-3 | |
parent | 79be3ecaaf8ed6a1f0f424eb8902dd31377caebb (diff) | |
download | freebsd-ports-gnome-6fbf1742e446466f2913c6ab285c458c417c64c1.tar.gz freebsd-ports-gnome-6fbf1742e446466f2913c6ab285c458c417c64c1.tar.zst freebsd-ports-gnome-6fbf1742e446466f2913c6ab285c458c417c64c1.zip |
Add WITH_CWS knob.
Usage:
make WITH_CWS=cws_src680_chart2mst3.20070107
when cws archive is cws_src680_chart2mst3.20070107.tar.gz.
This is only for development purpose.
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r-- | editors/openoffice-3/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile index f30b600ccba9..1dbe3412c0d5 100644 --- a/editors/openoffice-3/Makefile +++ b/editors/openoffice-3/Makefile @@ -11,6 +11,7 @@ CATEGORIES+= editors java MASTER_SITES+= ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/openoffice/stable/${OOOVERSION}/&,} \ http://openoffice.lunarshells.com/sources/ \ http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \ + http://ooopackages.good-day.net/pub/OpenOffice.org/cws/:cws \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:antbin,} \ ${MASTER_SITE_MOZILLA:S/$/:mozsrc/} \ @@ -28,6 +29,12 @@ EXTRACT_ONLY= ${OOOSRC} MAINTAINER= openoffice@FreeBSD.org COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser +.if defined(WITH_CWS) +PORTNAME:= openoffice.org-${OOOVERSION}-${WITH_CWS} +DISTFILES+= ${CWSARCHIVE}:cws +.endif +CWSARCHIVE= ${WITH_CWS}.tar.gz + OOOVERSION= 2.1.0 NO_LATEST_LINK= yes USE_GNOME= gtk20 @@ -77,6 +84,10 @@ OOOTAG?= OOE680_m${MILESTONE} OOOSRC?= OOo_${OOOTAG}_source${EXTRACT_SUFX} INSTALLATION_BASEDIR?= openoffice.org-${OOOVERSION} EXECBASE?= openoffice.org-${OOOVERSION} +.if defined(WITH_CWS) +INSTALLATION_BASEDIR= openoffice.org-${OOOVERSION}-${WITH_CWS} +EXECBASE= openoffice.org-${OOOVERSION}-${WITH_CWS} +.endif DIST_SUBDIR= openoffice.org2.0 SIMPLEOSVER= ${OSREL:C/\.//g} .if ${ARCH} == amd64 @@ -208,6 +219,9 @@ pre-everything:: post-extract: @${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ +.if defined(WITH_CWS) + cd ${WRKDIR} ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/${CWSARCHIVE} +.endif .if defined(WITH_GNUGCJ) @cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf - .endif |