diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-02-05 01:23:10 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-02-05 01:23:10 +0000 |
commit | 38a92d46fecb74d6b431e72fb051d4852ae09192 (patch) | |
tree | 9175166a8d864537bf06b6192f8990ba59164986 /deskutils/kdepim3/Makefile | |
parent | baa573cc0f3c67d02f961def5da5d4b3fccc5e54 (diff) |
Notes
Diffstat (limited to 'deskutils/kdepim3/Makefile')
-rw-r--r-- | deskutils/kdepim3/Makefile | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/deskutils/kdepim3/Makefile b/deskutils/kdepim3/Makefile index 7fac76e97e92..26596ad53ecd 100644 --- a/deskutils/kdepim3/Makefile +++ b/deskutils/kdepim3/Makefile @@ -7,17 +7,14 @@ PORTNAME= kdepim PORTVERSION= ${KDE_VERSION} -PORTREVISION= 2 -CATEGORIES= deskutils kde +CATEGORIES= deskutils mail news kde MASTER_SITES= ${MASTER_SITE_KDE} -MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src +MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Personal Information Management tools for KDE -LIB_DEPENDS= pisock:${PORTSDIR}/palm/pilot-link - USE_KDELIBS_VER=3 PREFIX= ${KDE_PREFIX} @@ -25,11 +22,35 @@ USE_BZIP2= yes USE_BISON= yes GNU_CONFIGURE= yes USE_GMAKE= yes +USE_REINPLACE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 +KDE_BUILD_PLIST=yes + +.if exists(${LOCALBASE}/bin/pilot-link) +WITH_KPILOT= yes +.endif + +.if exists(${LOCALBASE}/bin/gnokii) +WITH_GNOKII= yes +.endif .include "${.CURDIR}/../../x11/kde3/Makefile.kde" .include <bsd.port.pre.mk> +.if defined(WITH_GNOKII) +LIB_DEPENDS+= gnokii.1:${PORTSDIR}/comms/gnokii +.endif # defined ($(WITH_GNOKII)) + +.if defined(WITH_KPILOT) +LIB_DEPENDS= mal:${PORTSDIR}/palm/libmal \ + pisock:${PORTSDIR}/palm/pilot-link +PLIST_APPEND+= plist.kpilot +.endif # defined ($(WITH_KPILOT)) + +pre-configure: + ${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|-lgnokii|-lgnokii -liconv -lintl|' ${WRKSRC}/configure + .include <bsd.port.post.mk> |