diff options
Diffstat (limited to 'editors/ooo-build/Makefile')
-rw-r--r-- | editors/ooo-build/Makefile | 53 |
1 files changed, 17 insertions, 36 deletions
diff --git a/editors/ooo-build/Makefile b/editors/ooo-build/Makefile index 839ea02db4cd..6645b111b7ed 100644 --- a/editors/ooo-build/Makefile +++ b/editors/ooo-build/Makefile @@ -5,57 +5,46 @@ PORTNAME= ooo-build PORTVERSION= ${OOOBUILD_VERSION} -PORTREVISION= 1 -MASTER_SITES+= http://www.go-ooo.org/packages/OOE680/ \ +MASTER_SITES+= http://www.go-ooo.org/packages/OOF680/ \ http://www.go-ooo.org/packages/SRC680/ \ http://www.openclipart.org/downloads/0.18/:openclipart \ ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/libwpd/g}:libwpd \ - http://go-oo.org/packages/SRC680/:libwps + http://go-oo.org/packages/SRC680/:libwps \ + http://go-oo.org/packages/SRC680/:libwpg DISTFILES+= ${OOOBUILD_SOURCE} \ ${OOO_EXTRA_ARTWORK} ${OOO_CRYSTAL_IMAGES} \ ${OOO_OPENCLIPART}:openclipart \ ${OOO_LIBWPD}:libwpd \ - ${OOO_LIBWPS}:libwps + ${OOO_LIBWPS}:libwps \ + ${OOO_LIBWPG}:libwpg MAINTAINER= maho@FreeBSD.org COMMENT= Community enhanced/bug fixed version of OpenOffice.org -BROKEN= new version of ooo-build is not yet available - DESCR= ${.CURDIR}/pkg-descr -#DEVELOPER_VER= yes #you must be an expert or guru to activate this -.if defined(DEVELOPER_VER) -OOOBUILD_VERSION=2.0.2.${MILESTONE} -MILESTONE= 156 -OOOBUILD_TAG=src680-m${MILESTONE} -OOOBUILD= ooo-build-src680.${MILESTONE}.0 -OOOBUILD_SOURCE=${OOOBUILD}.tar.gz -OOO_EXTRA_ARTWORK=extras-2.tar.bz2 -OOO_CRYSTAL_IMAGES= ooo_crystal_images-1.tar.gz -OOO_OPENCLIPART= openclipart-0.18-full.tar.gz -OOO_PATCHDIR=src680 -.else -OOOBUILD_VERSION=2.1.7 -OOOBUILD_TAG=ooe680-m6 -OOOSRC= OOo_OOE680_m6_source.tar.bz2 -OOOTAG= OOE680_m6 +OOOBUILD_VERSION=2.2.1 +OOOBUILD_TAG=oof680-m18 +OOOSRC= OOo_OOF680_m18_source.tar.bz2 +OOOTAG= OOF680_m18 OOOBUILD= ooo-build-${OOOBUILD_VERSION} #OOOBUILD= ooo-build-${OOOBUILD_TAG} OOOBUILD_SOURCE=${OOOBUILD}.tar.gz OOO_EXTRA_ARTWORK=extras-2.tar.bz2 OOO_CRYSTAL_IMAGES= ooo_crystal_images-1.tar.gz OOO_OPENCLIPART= openclipart-0.18-full.tar.gz -OOO_LIBWPD= libwpd-0.8.8.tar.gz +OOO_LIBWPD= libwpd-0.8.10.tar.gz OOO_LIBWPS= libwps-0.1.0~svn20070129.tar.gz +OOO_LIBWPG= libwpg-0.1.0~cvs20070608.tar.gz OOO_PATCHDIR=src680 -.endif MD5_FILE= ${.CURDIR}/distinfo USE_AUTOTOOLS= autoconf:259 -CONFIGURE_ARGS+= --enable-cairo --with-system-cairo +CONFIGURE_ARGS+= --enable-cairo +CONFIGURE_ARGS+= --with-system-xrender-headers CONFIGURE_ARGS+= --disable-access #--with-system-mdbtools +CONFIGURE_ARGS+= --enable-vba --with-vba-package-format="builtin" #for lpsolve... CONFIGURE_ARGS+= --with-system-lpsolve CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS} -L${PREFIX}/lib" @@ -78,25 +67,17 @@ post-patch: pre-configure: @cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${OOOBUILD_SOURCE} | ${TAR} xfz - -.if !defined(DEVELOPER_VER) @cd ${WRKDIR}/${OOOBUILD} ; ${PATCH} < ${.CURDIR}/files/ooo-build-patch -.else - @cd ${WRKDIR}/${OOOBUILD} ; ${PATCH} < ${.CURDIR}/files/ooo-build-patch-devel -.endif @cd ${WRKDIR}/${OOOBUILD}/patches ; ${PERL} apply.pl ${WRKDIR}/${OOOBUILD}/patches/${OOO_PATCHDIR} ${WRKSRC} --distro=FreeBSD --distro=Binfilter --tag=${OOOBUILD_TAG} @${CP} ${WRKDIR}/${OOOBUILD}/src/evolocal.odb ${WRKSRC}/extras/source/database/ + @${CP} ${WRKDIR}/${OOOBUILD}/src/go-oo-team.png ${WRKSRC}/default_images/sw/res/ @${CP} ${DISTDIR}/${DIST_SUBDIR}/${OOO_LIBWPD} ${WRKSRC}/libwpd/download/ @${CP} ${DISTDIR}/${DIST_SUBDIR}/${OOO_LIBWPS} ${WRKSRC}/libwps/download/ -.if !defined(DEVELOPER_VER) - @${CP} ${WRKDIR}/${OOOBUILD}/src/go-oo-team.png ${WRKSRC}/default_images/sw/res -.endif + @${MKDIR} ${WRKSRC}/libwpg/download/ + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${OOO_LIBWPG} ${WRKSRC}/libwpg/download/ #extract some goodies cd ${WRKSRC} ; ${TAR} xjf ${DISTDIR}/${DIST_SUBDIR}/${OOO_EXTRA_ARTWORK} #cd ${WRKDIR} ; ${TAR} xjf ${DISTDIR}/${DIST_SUBDIR}/${OOO_OPENCLIPART} -.if defined(DEVELOPER_VER) -MASTERDIR= ${.CURDIR}/../openoffice.org-2-devel -.else MASTERDIR= ${.CURDIR}/../openoffice.org-2 -.endif .include "${MASTERDIR}/Makefile" |