diff options
Diffstat (limited to 'editors/calligra/Makefile')
-rw-r--r-- | editors/calligra/Makefile | 50 |
1 files changed, 31 insertions, 19 deletions
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile index bd3e24f47837..36889951226f 100644 --- a/editors/calligra/Makefile +++ b/editors/calligra/Makefile @@ -1,4 +1,3 @@ -# -*-mode: makefile-*- # New ports collection makefile for: koffice # Date created: Sun May 14 2000 16:33:15 # Whom: Will Andrews <will@FreeBSD.org> @@ -7,40 +6,53 @@ # PORTNAME= koffice -PORTVERSION= 1.3.5 -PORTREVISION= 2 +PORTVERSION= 1.4.0a PORTEPOCH= 1 CATEGORIES= editors kde MASTER_SITES= ${MASTER_SITE_KDE} -MASTER_SITE_SUBDIR= stable/${PORTNAME}-${PORTVERSION:S/.0//}/src +MASTER_SITE_SUBDIR= stable/${PORTNAME}-${PORTVERSION:S/.0//:S/a//}/src DIST_SUBDIR= KDE/koffice MAINTAINER= kde@FreeBSD.org COMMENT= Office Suite for KDE3 -BUILD_DEPENDS= Magick-config:${PORTSDIR}/graphics/ImageMagick \ - dot:${PORTSDIR}/graphics/graphviz +BUILD_DEPENDS= ${LOCALBASE}/lib/libpqxx.a:${PORTSDIR}/databases/postgresql-libpqxx \ + Magick-config:${PORTSDIR}/graphics/ImageMagick LIB_DEPENDS= art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \ aspell:${PORTSDIR}/textproc/aspell \ fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ freetype:${PORTSDIR}/print/freetype2 \ - paper.2:${PORTSDIR}/print/libpaper \ + lcms:${PORTSDIR}/graphics/lcms \ + paper:${PORTSDIR}/print/libpaper \ + pq:${PORTSDIR}/databases/postgresql74-client \ + wpd-0.8:${PORTSDIR}/textproc/libwpd \ wv2:${PORTSDIR}/textproc/wv2 \ xml2:${PORTSDIR}/textproc/libxml2 \ xslt:${PORTSDIR}/textproc/libxslt +RUN_DEPENDS= ${LOCALBASE}/lib/libpqxx.a:${PORTSDIR}/databases/postgresql-libpqxx -USE_KDELIBS_VER= 3 -PREFIX= ${KDE_PREFIX} +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +PREFIX= ${KDE_PREFIX} +USE_BZIP2= yes +USE_GMAKE= yes +USE_KDELIBS_VER=3 +USE_MYSQL= yes +USE_PYTHON= yes -USE_BZIP2= yes -USE_GMAKE= yes -USE_ICONV= yes -USE_PYTHON= yes -GNU_CONFIGURE= yes -_NO_KDE_FIXPTHREAD= yes +.include "${.CURDIR}/../../x11/kde3/Makefile.kde" +.include <bsd.port.pre.mk> -INSTALLS_SHLIB= yes -LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 +.if ${OSVERSION} < 500035 +EXTRA_PATCHES= ${PATCHDIR}/extrapatch-kexi-main-keximainwindowimpl.cpp +CPPFLAGS+= -I${LOCALBASE}/include/stlport +LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS} +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" +.endif -.include "${.CURDIR}/../../x11/kde3/Makefile.kde" -.include <bsd.port.mk> +post-patch: + @env TZ=UTC ${TOUCH} -t 200506221316 ${WRKSRC}/subdirs ${WRKSRC}/Makefile.am \ + ${WRKSRC}/configure.files ${WRKSRC}/configure.in \ + ${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4 + +.include <bsd.port.post.mk> |