aboutsummaryrefslogtreecommitdiff
path: root/editors/calligra/Makefile
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-07-31 22:46:35 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-07-31 22:46:35 +0000
commitecc191066f62f2a3d850fba9401f792e1f815eb2 (patch)
treebe8bf1b5e0b49d461d65216e02a2ab4b735a6c54 /editors/calligra/Makefile
parent2a9bde49bb09001bd162ad70d8be7d4aef7ddb67 (diff)
downloadports-ecc191066f62f2a3d850fba9401f792e1f815eb2.tar.gz
ports-ecc191066f62f2a3d850fba9401f792e1f815eb2.zip
Update to KDE 3.4.2 / KOffice 1.4.1
Notes
Notes: svn path=/head/; revision=140588
Diffstat (limited to 'editors/calligra/Makefile')
-rw-r--r--editors/calligra/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index e85d413c5897..57cef359e12b 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= koffice
-PORTVERSION= 1.4.0a
-PORTREVISION= 1
+PORTVERSION= 1.4.1
PORTEPOCH= 1
CATEGORIES= editors kde
MASTER_SITES= ${MASTER_SITE_KDE}
@@ -46,14 +45,20 @@ USE_PYTHON= yes
.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
-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
+#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
+
+post-configure:
+.if ${OSVERSION} < 500035
+ ${REINPLACE_CMD} -e 's|\(^CPPFLAGS =.*\)|\1 -I${LOCALBASE}/include/stlport|g' \
+ -e 's|\(^LDFLAGS =.*\)|\1 -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/filters/kspread/excel/sidewinder/Makefile \
+ ${WRKSRC}/kexi/kexidb/drivers/pqxx/Makefile \
+ ${WRKSRC}/kexi/migration/pqxx/Makefile
+.endif
.include <bsd.port.post.mk>