b66056ffed
Based on the timeout of 3+ months (2018-03-23-now) on bug#226885 for net/ucarp Also, looking at the subversion log, there were timeouts on: * bug#224169 r465659 | ygy | 2018-03-26 19:51:12 * bug#224768 r459066 | swills | 2018-01-15 07:16:28 * bug#224755 r459058 | swills | 2018-01-15 06:55:08 The last approval from alexey@renatasystems.org was over a year ago: bug#218563 r438885 | lifanov | 2017-04-19 08:30:28 (devel/py-colorama)
81 lines
1.7 KiB
Makefile
81 lines
1.7 KiB
Makefile
# Created by: mwest@uct.ac.za
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lbdb
|
|
PORTVERSION= 0.42.1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.spinnaker.de/debian/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tools for use with mutt external mail address query feature
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= gsed:textproc/gsed
|
|
|
|
OPTIONS_DEFINE= ABOOK EVOLUTION GPG LDAP
|
|
ABOOK_DESC= abook address book support
|
|
EVOLUTION_DESC= Ximan Evolution support
|
|
GPG_DESC= GNU Privacy Guard support
|
|
|
|
WRKSRC= ${WRKDIR}/lbdb-${PORTVERSION}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-lbdb-dotlock \
|
|
--libdir=${PREFIX}/libexec/lbdb
|
|
MAKE_ARGS= install_prefix=${STAGEDIR}
|
|
USES= gmake perl5
|
|
|
|
.if exists (/usr/bin/getent)
|
|
PLIST_SUB+= GETENT=""
|
|
.else
|
|
PLIST_SUB+= GETENT="@comment "
|
|
.endif
|
|
|
|
.if exists (/usr/bin/ypcat)
|
|
PLIST_SUB+= YPCAT=""
|
|
.else
|
|
PLIST_SUB+= YPCAT="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MGPG}
|
|
BUILD_DEPENDS+= gpg:security/gnupg
|
|
RUN_DEPENDS+= gpg:security/gnupg
|
|
PLIST_SUB+= GPG=""
|
|
.else
|
|
PLIST_SUB+= GPG="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MABOOK}
|
|
BUILD_DEPENDS+= abook:mail/abook
|
|
RUN_DEPENDS+= abook:mail/abook
|
|
PLIST_SUB+= ABOOK=""
|
|
.else
|
|
PLIST_SUB+= ABOOK="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEVOLUTION}
|
|
BUILD_DEPENDS+= evolution:mail/evolution
|
|
RUN_DEPENDS+= evolution:mail/evolution
|
|
PLIST_SUB+= EVOLUTION=""
|
|
.else
|
|
PLIST_SUB+= EVOLUTION="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MLDAP}
|
|
RUN_DEPENDS+= p5-perl-ldap>=0:net/p5-perl-ldap
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's/sed/gsed/' ${WRKSRC}/m_muttalias.sh.in
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lbdb_dotlock
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/lbdb/fetchaddr
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/lbdb/qpto8bit
|
|
|
|
.include <bsd.port.mk>
|