diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-06-13 04:02:22 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-06-13 04:02:22 +0800 |
commit | 5fb507482b36d19b02380959f5dbb038cbb116dd (patch) | |
tree | 2565bd6ddd9733df2828b61e00be166f621b1df5 /mail/sendmail | |
parent | a9cc90c42edd1a381abd4f6657a4531a8433ca06 (diff) | |
download | freebsd-ports-gnome-5fb507482b36d19b02380959f5dbb038cbb116dd.tar.gz freebsd-ports-gnome-5fb507482b36d19b02380959f5dbb038cbb116dd.tar.zst freebsd-ports-gnome-5fb507482b36d19b02380959f5dbb038cbb116dd.zip |
- Make full featured package, ordered PKGNAMESUFFIX
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/Makefile | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index f68e3d74dffe..3e1c23da37af 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -14,39 +14,37 @@ DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= dirk.meyer@dinoex.sub.org -.if defined(BATCH) -NO_PACKAGE= "sendmail included in base system" -.endif - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WCONF= ${WRKSRC}/devtools/Site PLIST= ${WRKDIR}/.PLIST.more DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES # Options to define Features: -# -# SENDMAIL_WITH_TLS=YES -# SENDMAIL_WITH_SASL=YES -# SENDMAIL_WITH_SFIO=YES -# SENDMAIL_WITH_MILTER=YES -# SENDMAIL_WITH_LDAP=YES +.if defined(BATCH) +# all on for package build +SENDMAIL_WITH_TLS=YES +SENDMAIL_WITH_SASL=YES +SENDMAIL_WITH_SFIO=YES +SENDMAIL_WITH_MILTER=YES +SENDMAIL_WITH_LDAP=YES +.endif -.if defined(SENDMAIL_WITH_TLS) -USE_OPENSSL= yes -PKGNAMESUFFIX= -tls +.if defined(SENDMAIL_WITH_LDAP) +PKGNAMESUFFIX?= -ldap +LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 +LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 .endif .if defined(SENDMAIL_WITH_SASL) LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl -PKGNAMESUFFIX= -sasl +PKGNAMESUFFIX?= -sasl +.endif +.if defined(SENDMAIL_WITH_TLS) +PKGNAMESUFFIX?= -tls +USE_OPENSSL= yes .endif .if defined(SENDMAIL_WITH_SFIO) +PKGNAMESUFFIX?= -sfio BUILD_DEPENDS+= ${LOCALBASE}/lib/libsfio.a:${PORTSDIR}/devel/sfio -PKGNAMESUFFIX= -sfio -.endif -.if defined(SENDMAIL_WITH_LDAP) -LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 -LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 -PKGNAMESUFFIX= -ldap .endif .if exists(${DESTDIR}/etc/mail/mailer.conf) |