aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-RC
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-07 22:20:16 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-07 22:20:16 +0000
commit2c3cf3a1b4197ba814dddf0b1bbecb84a439e4c7 (patch)
treedcf06d19c7a97a46438a6cb17bca7592f419013f /editors/openoffice.org-2-RC
parentff39c6989f728b68327023787d992e50f67aac49 (diff)
downloadports-2c3cf3a1b4197ba814dddf0b1bbecb84a439e4c7.tar.gz
ports-2c3cf3a1b4197ba814dddf0b1bbecb84a439e4c7.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.
Notes
Notes: svn path=/head/; revision=181720
Diffstat (limited to 'editors/openoffice.org-2-RC')
-rw-r--r--editors/openoffice.org-2-RC/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/editors/openoffice.org-2-RC/Makefile b/editors/openoffice.org-2-RC/Makefile
index e397ad6c5bce..56fce2eb19e3 100644
--- a/editors/openoffice.org-2-RC/Makefile
+++ b/editors/openoffice.org-2-RC/Makefile
@@ -11,6 +11,7 @@ CATEGORIES+= editors java
MASTER_SITES+= ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/openoffice/developer/680_m${MILESTONE}/&,} \
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,7 +29,13 @@ EXTRACT_ONLY= ${OOOSRC}
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(release branch)
-IGNORE= Please use editors/openoffice.org-2
+#IGNORE= Please use editors/openoffice.org-2
+
+.if defined(WITH_CWS)
+PORTNAME:= openoffice.org-${WITH_CWS}
+DISTFILES+= ${CWSARCHIVE}:cws
+.endif
+CWSARCHIVE= ${WITH_CWS}.tar.gz
NO_LATEST_LINK= yes
USE_GNOME= gtk20
@@ -79,6 +86,10 @@ OOOSRC?= OOo_${OOOTAG}_source${EXTRACT_SUFX}
SNAPDATE= 20061201
INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG}
EXECBASE?= openoffice.org-${OOOTAG}
+.if defined(WITH_CWS)
+INSTALLATION_BASEDIR= openoffice.org-${OOOTAG}-${WITH_CWS}
+EXECBASE= openoffice.org-${OOOTAG}-${WITH_CWS}
+.endif
DIST_SUBDIR= openoffice.org2.0
SIMPLEOSVER= ${OSREL:C/\.//g}
.if ${ARCH} == amd64
@@ -210,6 +221,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