blob: b3170dd4562b228cd3898744d2e048b615937f51 (
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
|
# -*-mode: makefile-*-
# 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.3
PORTEPOCH= 1
CATEGORIES= editors kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTNAME}-${PORTVERSION}/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
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 \
xml2:${PORTSDIR}/textproc/libxml2 \
xslt:${PORTSDIR}/textproc/libxslt
RUN_DEPENDS= wn:${PORTSDIR}/textproc/wordnet
USE_KDELIBS_VER= 3
PREFIX= ${KDE_PREFIX}
KDE_BUILD_PLIST= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
USE_PYTHON= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
WV2_CONFIG= ${LOCALBASE}/bin/wv2-config
.if exists(${WV2_CONFIG})
WITH_WV2?= yes
.endif # exists(${WV2_CONFIG})
.if defined(WITH_WV2)
LIB_DEPENDS+= wv2:${PORTSDIR}/textproc/wv2
PLIST_APPEND+= plist.wv2
.else
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "============================================================"
@${ECHO_MSG} "If you want to compile with support for MS Word/Excel,"
@${ECHO_MSG} "documents, hit Ctrl-C right now and use \"make WITH_WV2=yes\""
@${ECHO_MSG} "============================================================"
@${ECHO_MSG}
.endif # defined(WITH_WV2)
.include <bsd.port.post.mk>
|