diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2016-06-12 17:57:38 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2016-06-12 17:57:38 +0000 |
commit | 989652dc62cde9b35e3ccf958e7dcd6497eaf4d4 (patch) | |
tree | 64c377c98198e616354f77785c06963529da315f /mail/spamd | |
parent | 1d0cb7cd47487e8c6b52b294374a23cbebb8aa76 (diff) | |
download | ports-989652dc62cde9b35e3ccf958e7dcd6497eaf4d4.tar.gz ports-989652dc62cde9b35e3ccf958e7dcd6497eaf4d4.zip |
Notes
Diffstat (limited to 'mail/spamd')
-rw-r--r-- | mail/spamd/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile index 8227eecc3a84..8ffd128c7231 100644 --- a/mail/spamd/Makefile +++ b/mail/spamd/Makefile @@ -3,7 +3,7 @@ PORTNAME= spamd PORTVERSION= 4.9.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= SF/freebsdspamd/spamd @@ -13,6 +13,7 @@ COMMENT= Traps spammers with a very slow smtp-login and return 4xx error LICENSE= BSD2CLAUSE USE_RC_SUBR?= obspamd obspamlogd +USE_OPENSSL= yes USERS= _spamd GROUPS= _spamd @@ -29,7 +30,7 @@ PLIST_FILES= %%ETCDIR%%/spamd.conf.sample \ man/man8/spamdb.8.gz \ man/man8/spamlogd.8.gz -PLIST_SUB= SPAMDUSER=${USERS} \ +SUB_LIST= SPAMDUSER=${USERS} \ SPAMDGROUP=${GROUPS} # If you are a CPANEL user the this option is for you! @@ -39,21 +40,21 @@ PLIST_SUB= SPAMDUSER=${USERS} \ # be adjusted. Man page and pid file will not be renamed! .if !defined(CPANEL) PLIST_FILES+= libexec/spamd -PLIST_SUB+= SPAMDBIN=spamd +SUB_LIST+= SPAMDBIN=spamd .else PLIST_FILES+= libexec/obspamd -PLIST_SUB+= SPAMDBIN=obspamd +SUB_LIST+= SPAMDBIN=obspamd .endif SUB_FILES= pkg-install \ pkg-message -SUB_LIST= PREFIX=${PREFIX} \ - ${PLIST_SUB} - OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> + +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} do-install: .if !defined(CPANEL) @@ -69,10 +70,10 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/spamd-setup/spamd-setup.8 ${STAGEDIR}${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/spamdb/spamdb.8 ${STAGEDIR}${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/spamlogd/spamlogd.8 ${STAGEDIR}${PREFIX}/man/man8 - ${INSTALL} -d ${STAGEDIR}${ETCDIR} + @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/etc/spamd.conf ${STAGEDIR}${ETCDIR}/spamd.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> |