freebsd-ports/mail/smfsav/Makefile
Pav Lucistnik c80e1983fb It's a lightweight, fast and reliable Sendmail milter that implements
a real-time Sender e-Mail Address Verification technology. This technology
can stop some kinds of SPAM with a spoofed sender's e-Mail address.
  Also it implements a real-time Recipient e-Mail Address Verification
technology. It can be useful if your machine is a backup MX for the recipient's
domains or if your machine forwards all e-Mail messages as a relay host for your
domains to another internal or external e-Mail servers.
  It's a lite alternative for the spamilter, milter-sender and milter-ahead
milters.

WWW: http://smfs.sourceforge.net/

PR:		ports/116948
Submitted by:	Anton Lysenok / Bart Tapolsky <bart@tapolsky.net.ua>
2008-02-17 21:16:46 +00:00

59 lines
1.4 KiB
Makefile

# New ports collection makefile for: smfsav
# Date created: 17 February 2008
# Whom: Anton Lysenok <bart@tapolsky.net.ua>
#
# $FreeBSD$
#
PORTNAME= smfsav
PORTVERSION= 1.4.0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}:0 \
${MASTER_SITE_ISC}:1
MASTER_SITE_SUBDIR= smfs/:0 \
bind8/src/8.4.7/:1
DISTNAME= smf-sav-1.4.0
DISTFILES= smf-sav-1.4.0.tar.gz:0 \
bind-src.tar.gz:1
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= bart@tapolsky.net.ua
COMMENT= Sendmail Sender Address Validator
PLIST_FILES= sbin/smfsav \
etc/smfsav.conf-dist
.if !defined(NOPORTDOCS)
PLIST_FILES+= %%PORTDOCS%%%%DOCSDIR%%/COPYING \
%%PORTDOCS%%%%DOCSDIR%%/CHANGES \
%%PORTDOCS%%%%DOCSDIR%%/README
PLIST_DIRS= share/doc/${PORTNAME}
.endif
USE_RC_SUBR= smfsav
SUB_FILES= pkg-message
pre-build:
@${ECHO}
@${ECHO} [*] Compiling BIND 8 to make SmfSav able to resolve DNS names
${MAKE} all -C ${WRKDIR}/src
@${ECHO}
@${ECHO} [*] Compiling SmfSav
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/smf-sav ${PREFIX}/sbin/smfsav
${INSTALL_DATA} ${WRKSRC}/smf-sav.conf ${PREFIX}/etc/smfsav.conf-dist
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}/COPYING
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}/CHANGES
${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}/README
.endif
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>