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