aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail-ldap/Makefile
blob: b60f7e7112c2113c3763cba89ec665fb09b40829 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# New ports collection makefile for:    qmail-ldap
# Date created:             21 May 2000
# Whom:                 Mario S F Ferreira <lioux@linf.unb.br> et al.
#
# $FreeBSD$
#

PORTNAME=   qmail
PORTVERSION=    ${QMAIL_VERSION}.${LDAP_PATCH_DATE}
PORTREVISION=   1
CATEGORIES= mail
PKGNAMESUFFIX=  -ldap

PATCH_SITES=    http://www.nrg4u.com/qmail/
PATCHFILES= qmail-ldap-1.03-${LDAP_PATCH_DATE}.patch.gz

MAINTAINER= lioux@FreeBSD.org

LIB_DEPENDS+=   ldap.1:${PORTSDIR}/net/openldap

NO_PACKAGE= djb\'s packaging license does not allow non-standard\
        qmail distributions

.if !defined(PRE_MK_INCLUDED)
.include <bsd.port.pre.mk>
.endif

#PREFIX=        /var/qmail-ldap

DOCFILES+=  ${WRKSRC}/QLDAPINSTALL ${WRKSRC}/QLDAPNEWS \
        ${WRKSRC}/QLDAPTODO ${WRKSRC}/QLDAPPICTURE \
        ${WRKSRC}/ANTISPAM

LDAP_PATCH_DATE=    20001201

.if defined(WITH_LDAP_CLUSTER)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ldap-cluster
.endif # WITH_LDAP_CLUSTER
#
.if defined(WITH_AUTOMAILDIRMAKE)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-automaildirmake
.endif # WITH_AUTOMAILDIRMAKE
#
.if defined(WITH_AUTOHOMEDIRMAKE)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-autohomedirmake
.endif # WITH_AUTOHOMEDIRMAKE
#
.if defined(WITH_LDAP_DEBUG)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-debug
.endif # WITH_LDAP_DEBUG

# Local overrides
MASTERDIR=  ${PORTSDIR}/mail/qmail
#MASTERDIR= ${.CURDIR}/../qmail
PATCHDIR=   ${.CURDIR}/files
PKGDIR_LOCAL=   ${.CURDIR}
DESCR=      ${PKGDIR_LOCAL}/pkg-descr
PLIST=      ${PKGDIR_LOCAL}/pkg-plist
PKGMESSAGE= ${PKGDIR_LOCAL}/pkg-message

PRE_MK_INCLUDED=    yes

.include "${MASTERDIR}/Makefile"