diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-06-12 20:02:22 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-06-12 20:02:22 +0000 |
commit | 5fb507482b36d19b02380959f5dbb038cbb116dd (patch) | |
tree | 2565bd6ddd9733df2828b61e00be166f621b1df5 /mail/sendmail811/Makefile | |
parent | a9cc90c42edd1a381abd4f6657a4531a8433ca06 (diff) | |
download | FreeBSD-ports-5fb507482b36d19b02380959f5dbb038cbb116dd.zip FreeBSD-ports-5fb507482b36d19b02380959f5dbb038cbb116dd.tar.gz |
- Make full featured package, ordered PKGNAMESUFFIX
Diffstat (limited to 'mail/sendmail811/Makefile')
-rw-r--r-- | mail/sendmail811/Makefile | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile index f68e3d7..3e1c23d 100644 --- a/mail/sendmail811/Makefile +++ b/mail/sendmail811/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) |