diff options
Diffstat (limited to 'editors/openoffice.org-2-RC/Makefile')
-rw-r--r-- | editors/openoffice.org-2-RC/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/editors/openoffice.org-2-RC/Makefile b/editors/openoffice.org-2-RC/Makefile index 6443804b377d..8857ac8789ce 100644 --- a/editors/openoffice.org-2-RC/Makefile +++ b/editors/openoffice.org-2-RC/Makefile @@ -13,7 +13,10 @@ MASTER_SITES+= http://openoffice.lunarshells.com/sources/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ${MASTER_SITE_MOZILLA:S/$/:mozsrc/} MASTER_SITE_SUBDIR= mozilla/releases/mozilla${MOZILLA_VERSION}/source/:mozsrc -DISTFILES+= OOo_2.0.0_src.tar.gz gpc231.tar.Z:gpc +DISTFILES+= OOo_2.0.0_src.tar.gz +.if defined(WITH_GPC) +DISTFILES+= gpc231.tar.Z:gpc +.endif EXTRACT_ONLY= OOo_2.0.0_src.tar.gz MAINTAINER= openoffice@FreeBSD.org @@ -49,9 +52,6 @@ JAVA_VENDOR= bsdjava .include <bsd.port.pre.mk> .include <${FILESDIR}/Makefile.localized> -.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} <= 492000) -BROKEN= "rtld depends on _end symbol. type make -DTRYBROKEN to see how to upgrade your rtld" -.endif .if ${PERL_LEVEL} < 500600 IGNORE= Install lang/perl5.8 then try again .endif @@ -114,7 +114,9 @@ BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2 .endif - +.if !defined(WITH_GPC) +LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2 +.endif GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/OOo_2.0.0rc3_src CONFIGURE_WRKSRC= ${WRKSRC}/config_office @@ -124,7 +126,7 @@ TCSH?= /bin/tcsh PKGMESSAGE= ${WRKDIR}/pkg-message NUMOFPROCESSES?= 1 -CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch --with-epm=internal --with-system-freetype +CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch --with-epm=internal --with-system-freetype --enable-crashdump=yes --enable-symbols=SMALL .include <${FILESDIR}/Makefile.knobs> @@ -152,9 +154,11 @@ post-extract: .if (${OSVERSION} <= 492000) @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/fbsd4-workaroundpatch .endif +.if defined(WITH_GPC) @cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz - @${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/external/gpc/ @${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/external/gpc/ +.endif .if !defined(WITHOUT_MOZILLA) @${CP} ${DISTDIR}/${DIST_SUBDIR}/${MOZILLA_SOURCE} ${WRKSRC}/moz/download .endif @@ -199,11 +203,6 @@ post-install: @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-simpress @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-spadmin @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-swriter -# python post-install script start -# consult instsetoo_native/inc_openoffice/unix/shellscripts_pyuno.txt - @cd ${PREFIX}/${INSTALLATION_BASEDIR}/program ; ${LN} -s python-core-2.3.4 ${PREFIX}/${INSTALLATION_BASEDIR}/program/python-core; ${LN} -s python.sh ${PREFIX}/${INSTALLATION_BASEDIR}/program/python - @${CHMOD} +x ${PREFIX}/${INSTALLATION_BASEDIR}/program/python-core-2.3.4/bin/python -# python post-install script end @${PRINTF} "bin/openoffice.org\n" > ${TMPPLIST} @cd ${PREFIX} ; ${FIND} -s bin -type f | ${GREP} ${EXECBASE} >> ${TMPPLIST} @cd ${PREFIX} ; ${FIND} -s bin -type l | ${GREP} ${EXECBASE} >> ${TMPPLIST} |