2013-06-04 12:32:49 +02:00
|
|
|
# Created by: mwest@uct.ac.za
|
2000-02-03 14:46:39 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-13 22:01:08 +02:00
|
|
|
PORTNAME= lbdb
|
2014-06-30 15:21:11 +02:00
|
|
|
PORTVERSION= 0.39
|
2014-07-11 16:28:17 +02:00
|
|
|
PORTREVISION= 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
|
|
|
|
2009-08-07 19:43:35 +02:00
|
|
|
MAINTAINER= alexey@renatasystems.org
|
2014-07-11 16:28:17 +02:00
|
|
|
COMMENT= Tools for use with mutt external mail address query feature
|
2000-02-03 14:46:39 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS= gsed:textproc/gsed
|
2009-08-07 19:43:35 +02:00
|
|
|
|
2014-07-11 16:28:17 +02:00
|
|
|
OPTIONS_DEFINE= ABOOK EVOLUTION GPG LDAP
|
2013-06-04 12:32:49 +02:00
|
|
|
ABOOK_DESC= abook address book support
|
|
|
|
EVOLUTION_DESC= Ximan Evolution support
|
|
|
|
GPG_DESC= GNU Privacy Guard support
|
2008-07-25 19:19:25 +02:00
|
|
|
|
2007-09-10 03:04:49 +02:00
|
|
|
WRKSRC= ${WRKDIR}/lbdb-${PORTVERSION}
|
2009-08-07 19:43:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-07-11 16:28:17 +02:00
|
|
|
CONFIGURE_ARGS= --enable-lbdb-dotlock \
|
|
|
|
--libdir=${PREFIX}/libexec/lbdb
|
|
|
|
MAKE_ARGS= install_prefix=${STAGEDIR}
|
2013-09-14 20:12:50 +02:00
|
|
|
USES= gmake perl5
|
2007-09-10 03:04:49 +02:00
|
|
|
|
2013-06-04 12:32:49 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2001-02-26 05:54:23 +01:00
|
|
|
|
2006-08-14 11:04:15 +02:00
|
|
|
.if exists (/usr/bin/getent)
|
|
|
|
WITH_GETENT= yes
|
|
|
|
.endif
|
2004-02-24 00:40:47 +01:00
|
|
|
|
2013-06-04 12:32:49 +02:00
|
|
|
.if ${PORT_OPTIONS:MGPG}
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS+= gpg:security/gnupg
|
|
|
|
RUN_DEPENDS+= gpg:security/gnupg
|
2004-02-24 00:40:47 +01:00
|
|
|
PLIST_SUB+= GPG=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GPG="@comment "
|
|
|
|
.endif
|
2009-08-07 19:43:35 +02:00
|
|
|
|
2013-06-04 12:32:49 +02:00
|
|
|
.if ${PORT_OPTIONS:MABOOK}
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS+= abook:mail/abook
|
|
|
|
RUN_DEPENDS+= abook:mail/abook
|
2004-02-24 00:40:47 +01:00
|
|
|
PLIST_SUB+= ABOOK=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= ABOOK="@comment "
|
|
|
|
.endif
|
2009-08-07 19:43:35 +02:00
|
|
|
|
2013-06-04 12:32:49 +02:00
|
|
|
.if ${PORT_OPTIONS:MEVOLUTION}
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS+= evolution:mail/evolution
|
|
|
|
RUN_DEPENDS+= evolution:mail/evolution
|
2004-02-24 00:40:47 +01:00
|
|
|
PLIST_SUB+= EVOLUTION=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EVOLUTION="@comment "
|
|
|
|
.endif
|
2009-08-07 19:43:35 +02:00
|
|
|
|
2013-06-04 12:32:49 +02:00
|
|
|
.if ${PORT_OPTIONS:MGETENT}
|
2006-08-14 11:04:15 +02:00
|
|
|
PLIST_SUB+= GETENT=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GETENT="@comment "
|
|
|
|
.endif
|
2004-02-23 22:59:14 +01:00
|
|
|
|
2014-07-11 16:28:17 +02:00
|
|
|
.if ${PORT_OPTIONS:MLDAP}
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS+= p5-perl-ldap>=0:net/p5-perl-ldap
|
2014-07-11 16:28:17 +02:00
|
|
|
.endif
|
|
|
|
|
2008-07-25 19:19:25 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's/sed/gsed/' ${WRKSRC}/m_muttalias.sh.in
|
|
|
|
|
2013-06-04 12:32:49 +02:00
|
|
|
.include <bsd.port.mk>
|