View | Details | Raw Unified | Return to bug 137485
Collapse All | Expand All

(-)lbdb/Makefile (-18 / +9 lines)
Lines 11-48 Link Here
11
MASTER_SITES=	http://www.spinnaker.de/debian/
11
MASTER_SITES=	http://www.spinnaker.de/debian/
12
DISTNAME=	${PORTNAME}_${PORTVERSION}
12
DISTNAME=	${PORTNAME}_${PORTVERSION}
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	alexey@renatasystems.org
15
COMMENT=	Set of tools for use with mutt's external mail address query feature
15
COMMENT=	Set of tools for use with mutt's external mail address query feature
16
16
17
RUN_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed
17
RUN_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed \
18
		p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap
19
20
OPTIONS=	ABOOK "Enable abook address book support" off \
21
		EVOLUTION "Enable Ximan Evolution support" off \
22
		GPG "Enable GNU Privacy Guard support" off
18
23
19
WRKSRC=		${WRKDIR}/lbdb-${PORTVERSION}
24
WRKSRC=		${WRKDIR}/lbdb-${PORTVERSION}
20
GNU_CONFIGURE=	YES
25
GNU_CONFIGURE=	yes
21
CONFIGURE_ARGS+=	--prefix=${PREFIX} --sysconfdir=${PREFIX}/etc \
26
CONFIGURE_ARGS+=	--prefix=${PREFIX} --sysconfdir=${PREFIX}/etc \
22
			--libdir=${PREFIX}/libexec --enable-lbdb-dotlock
27
			--libdir=${PREFIX}/libexec --enable-lbdb-dotlock
23
USE_GMAKE=	YES
28
USE_GMAKE=	yes
24
USE_PERL5=	yes
29
USE_PERL5=	yes
25
30
26
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
27
32
28
.if exists (${LOCALBASE}/bin/gpg)
29
WITH_GPG=	yes
30
.endif
31
.if exists (${LOCALBASE}/bin/abook)
32
WITH_ABOOK=	yes
33
.endif
34
.if exists (${LOCALBASE}/bin/evolution)
35
WITH_EVOLUTION=	yes
36
.endif
37
.if exists (/usr/bin/getent)
33
.if exists (/usr/bin/getent)
38
WITH_GETENT=	yes
34
WITH_GETENT=	yes
39
.endif
35
.endif
40
36
41
.if defined(PACKAGE_BUILDING)
42
WITH_GPG=	yes
43
WITH_ABOOK=	yes
44
.endif
45
46
.if defined(WITH_GPG)
37
.if defined(WITH_GPG)
47
BUILD_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg
38
BUILD_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg
48
RUN_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg
39
RUN_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg
(-)lbdb/files/patch-mutt_ldap_query (+10 lines)
Line 0 Link Here
1
--- mutt_ldap_query.pl.in.orig	2008-06-14 14:24:46.000000000 +0400
2
+++ mutt_ldap_query.pl.in	2009-08-06 13:36:39.000000000 +0400
3
@@ -33,6 +33,7 @@
4
 my $version = 0;
5
 my $ldap_server_nickname = '';
6
 my $config_file = '';
7
+my $prefix = '@prefix@';
8
 
9
 # hostname of your ldap server
10
 our $ldap_server = 'ldap.four11.com';

Return to bug 137485