Build with chart2mst3 CWS for FreeBSD

NAKATA Maho chat95 at mac.com
Sun Jan 7 02:12:51 UTC 2007


I'll place cws at 
http://ooopackages.good-day.net/pub/OpenOffice.org/cws/
like cws_src680_chart2mst3.20070107.tar.gz
then building some cws + SRC680_m19X will become something like that.
I'll provide builds of chart2mst3+SRC680_m195 for FreeBSD.

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/editors/openoffice.org-2-devel/Makefile,v
retrieving revision 1.291
diff -u -r1.291 Makefile
--- Makefile	5 Jan 2007 04:19:23 -0000	1.291
+++ Makefile	7 Jan 2007 01:31:24 -0000
@@ -5,12 +5,13 @@
 # $FreeBSD: ports/editors/openoffice.org-2-devel/Makefile,v 1.291 2007/01/05 04:19:23 maho Exp $
 #
 
-PORTNAME?=	openoffice.org
+PORTNAME?=	openoffice.org-${CWSNAME}
 PORTVERSION?=	2.2.${SNAPDATE}
 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/} \
@@ -23,6 +24,12 @@
 .if defined(WITH_GNUGCJ)
 DISTFILES+=	${ANT_DISTFILE}:antbin
 .endif
+.if defined(WITH_CWS)
+DISTFILES+=	${CWSARCHIVE}:cws
+.endif
+CWSNAME=	cws_src680_chart2mst3
+CWSARCHIVE=	${CWSNAME}.20070107.tar.gz
+
 EXTRACT_ONLY=	${OOOSRC}
 
 MAINTAINER=	openoffice at FreeBSD.org
@@ -208,6 +215,7 @@
 
 post-extract:
 	@${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
+	cd ${WRKDIR} ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/${CWSARCHIVE}
 .if defined(WITH_GNUGCJ)
 	@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf -
 .endif


More information about the freebsd-openoffice mailing list