1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/mail/lbdb/Makefile

81 lines
1.8 KiB
Makefile
Raw Normal View History

2013-06-04 10:32:49 +00:00
# Created by: mwest@uct.ac.za
# $FreeBSD$
2000-04-13 20:01:08 +00:00
PORTNAME= lbdb
PORTVERSION= 0.42.1
CATEGORIES= mail
MASTER_SITES= http://www.spinnaker.de/debian/
2000-04-13 20:01:08 +00:00
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= alexey@renatasystems.org
COMMENT= Tools for use with mutt external mail address query feature
LICENSE= GPLv2+
2016-12-28 06:48:46 +00:00
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= gsed:textproc/gsed
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
WRKSRC= ${WRKDIR}/lbdb-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-lbdb-dotlock \
--libdir=${PREFIX}/libexec/lbdb
MAKE_ARGS= install_prefix=${STAGEDIR}
USES= gmake perl5
2006-08-14 09:04:15 +00:00
.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 "
2006-08-14 09:04:15 +00:00
.endif
.include <bsd.port.options.mk>
2013-06-04 10:32:49 +00:00
.if ${PORT_OPTIONS:MGPG}
BUILD_DEPENDS+= gpg:security/gnupg
RUN_DEPENDS+= gpg:security/gnupg
PLIST_SUB+= GPG=""
.else
PLIST_SUB+= GPG="@comment "
.endif
2013-06-04 10:32:49 +00:00
.if ${PORT_OPTIONS:MABOOK}
BUILD_DEPENDS+= abook:mail/abook
RUN_DEPENDS+= abook:mail/abook
PLIST_SUB+= ABOOK=""
.else
PLIST_SUB+= ABOOK="@comment "
.endif
2013-06-04 10:32:49 +00:00
.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
2013-06-04 10:32:49 +00:00
.include <bsd.port.mk>