2000-02-03 14:46:39 +01:00
|
|
|
# New ports collection makefile for: lbdb
|
|
|
|
# Date created: 2 February 2000
|
|
|
|
# Whom: mwest@uct.ac.za
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 22:01:08 +02:00
|
|
|
PORTNAME= lbdb
|
2006-01-16 21:09:19 +01:00
|
|
|
PORTVERSION= 0.31.1
|
2000-02-03 14:46:39 +01:00
|
|
|
CATEGORIES= mail
|
2000-06-22 15:10:05 +02:00
|
|
|
MASTER_SITES= http://www.spinnaker.de/debian/
|
2000-04-13 22:01:08 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
2000-02-03 14:46:39 +01:00
|
|
|
|
2004-02-24 00:40:47 +01:00
|
|
|
MAINTAINER= obraun@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= Set of tools for use with mutt's external mail address query feature
|
2000-02-03 14:46:39 +01:00
|
|
|
|
2004-02-24 00:40:47 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2001-02-26 05:54:23 +01:00
|
|
|
|
2004-02-24 00:40:47 +01:00
|
|
|
.if exists (${LOCALBASE}/bin/gpg)
|
|
|
|
WITH_GPG= yes
|
|
|
|
.endif
|
|
|
|
.if exists (${LOCALBASE}/bin/abook)
|
|
|
|
WITH_ABOOK= yes
|
|
|
|
.endif
|
|
|
|
.if exists (${X11BASE}/bin/evolution)
|
|
|
|
WITH_EVOLUTION= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
WITH_GPG= yes
|
|
|
|
WITH_ABOOK= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GPG)
|
|
|
|
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
|
|
|
RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
|
|
|
PLIST_SUB+= GPG=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GPG="@comment "
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_ABOOK)
|
|
|
|
BUILD_DEPENDS+= abook:${PORTSDIR}/mail/abook
|
|
|
|
RUN_DEPENDS+= abook:${PORTSDIR}/mail/abook
|
|
|
|
PLIST_SUB+= ABOOK=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= ABOOK="@comment "
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_EVOLUTION)
|
|
|
|
BUILD_DEPENDS+= evolution:${PORTSDIR}/mail/evolution
|
|
|
|
RUN_DEPENDS+= evolution:${PORTSDIR}/mail/evolution
|
|
|
|
PLIST_SUB+= EVOLUTION=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EVOLUTION="@comment "
|
|
|
|
.endif
|
2004-02-23 22:59:14 +01:00
|
|
|
|
2000-06-22 15:10:05 +02:00
|
|
|
WRKSRC= ${WRKDIR}/lbdb-${PORTVERSION}
|
2000-02-03 14:46:39 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2001-02-05 16:11:27 +01:00
|
|
|
CONFIGURE_ARGS+= --libdir=${PREFIX}/libexec --enable-lbdb-dotlock
|
2000-02-03 14:46:39 +01:00
|
|
|
USE_GMAKE= YES
|
2002-11-05 13:08:22 +01:00
|
|
|
USE_PERL5= yes
|
2000-02-03 14:46:39 +01:00
|
|
|
|
2001-09-02 17:03:16 +02:00
|
|
|
MAN1= nodelist2lbdb.1 lbdbq.1 lbdb-fetchaddr.1 lbdb_dotlock.1 \
|
|
|
|
mutt_ldap_query.1
|
2000-02-03 14:46:39 +01:00
|
|
|
|
2004-02-24 00:40:47 +01:00
|
|
|
.include <bsd.port.post.mk>
|