blob: fdaf93bad7869e9833e6c0e91fd4ffbdfe35fbb9 (
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
|
# New ports collection makefile for: KDE PIM
# Date created: 2 March 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kdepim
PORTVERSION= ${KDE_VERSION}
CATEGORIES= deskutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Personal Information Management tools for KDE
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_BISON= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
KDE_BUILD_PLIST=yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
pre-configure::
${REINPLACE_CMD} -e "s@-pedantic @@g; \
s@/usr/local/include/libmal@${LOCALBASE}/include/libmal@g" \
${WRKSRC}/configure
.if exists(${LOCALBASE}/bin/pilot-xfer)
WITH_KPILOT=YES
.endif # exists(${LOCALBASE}/bin/pilot-xfer)
.if defined(WITH_KPILOT)
LIB_DEPENDS+= pisock:${PORTSDIR}/palm/pilot-link \
mal:${PORTSDIR}/palm/libmal
PLIST_APPEND+= plist.kpilot
.else
@${ECHO_MSG}
@${ECHO_MSG} "====================================================="
@${ECHO_MSG} "If you want to compile with Palm Pilot support, hit"
@${ECHO_MSG} "Ctrl-C right now and use \"make WITH_KPILOT=yes\""
@${ECHO_MSG} "====================================================="
@${ECHO_MSG}
.endif # defined(WITH_KPILOT)
.include <bsd.port.post.mk>
|