blob: 5754a328b31025384d0ba93d015e334bc8211cf9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# New ports collection makefile for: koffice
# Date created: Sun May 14 2000 16:33:15
# Whom: Will Andrews <will@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= koffice
PORTVERSION= 1.4.2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= editors kde
MASTER_SITES= ${MASTER_SITE_KDE}
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= ${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 \
lcms:${PORTSDIR}/graphics/lcms \
paper:${PORTSDIR}/print/libpaper \
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_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_GMAKE= yes
USE_KDELIBS_VER=3
USE_MYSQL= yes
USE_PYTHON= yes
USE_PGSQL= yes
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+=--with-pgsqlincdir=${LOCALBASE}/include \
--with-pgsqllibdir=${LOCALBASE}/lib
.if ${OSVERSION} < 500035
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-kexi-main-keximainwindowimpl.cpp
.endif
post-patch:
${CP} ${FILESDIR}/karbon_factory_init.cc ${WRKSRC}/karbon
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}/kchart/Makefile \
${WRKSRC}/kchart/kdchart/Makefile \
${WRKSRC}/kexi/kexidb/drivers/pqxx/Makefile \
${WRKSRC}/kexi/migration/pqxx/Makefile
.endif
.include <bsd.port.post.mk>
|