diff options
author | Maho Nakata <maho@FreeBSD.org> | 2007-01-07 22:20:16 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2007-01-07 22:20:16 +0000 |
commit | 2c3cf3a1b4197ba814dddf0b1bbecb84a439e4c7 (patch) | |
tree | dcf06d19c7a97a46438a6cb17bca7592f419013f /editors/openoffice.org-2 | |
parent | ff39c6989f728b68327023787d992e50f67aac49 (diff) | |
download | ports-2c3cf3a1b4197ba814dddf0b1bbecb84a439e4c7.tar.gz ports-2c3cf3a1b4197ba814dddf0b1bbecb84a439e4c7.zip |
Notes
Diffstat (limited to 'editors/openoffice.org-2')
-rw-r--r-- | editors/openoffice.org-2/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/openoffice.org-2/Makefile b/editors/openoffice.org-2/Makefile index f30b600ccba9..1dbe3412c0d5 100644 --- a/editors/openoffice.org-2/Makefile +++ b/editors/openoffice.org-2/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 |