diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2003-11-08 22:14:38 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2003-11-08 22:14:38 +0000 |
commit | 130a6b675e239623eaa243254d26332d171ae70b (patch) | |
tree | 9676622f5b174a36d9ace0338d37d161576f312b /mail/ssmtp/Makefile | |
parent | 32c5a7922ebe5feb26e78a44e077b59fc3c2434f (diff) |
Notes
Diffstat (limited to 'mail/ssmtp/Makefile')
-rw-r--r-- | mail/ssmtp/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile index c0491105d208..e0edfbe2502a 100644 --- a/mail/ssmtp/Makefile +++ b/mail/ssmtp/Makefile @@ -7,6 +7,7 @@ PORTNAME= ssmtp PORTVERSION= 2.60.4 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -30,6 +31,15 @@ TRUE= /usr/bin/true MAN8= ssmtp.8 +.if defined(WITH_USERPREFS) +CFLAGS+= -DUSERPREFS +.else +pre-everything:: + @${ECHO_CMD} 'If you want to let your users set their own revalias address,' + @${ECHO_CMD} 'please define WITH_USERPREFS (they just have to put their mail' + @${ECHO_CMD} 'address in ~/.ssmtprc).' +.endif + post-configure: @${REINPLACE_CMD} -e "s,/etc/ssl/certs/ssmtp.pem,${PREFIX}/etc/ssmtp/ssmtp.pem,g" \ ${WRKSRC}/ssmtp.c ${WRKSRC}/ssmtp.conf |