1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/mail/smfsav/Makefile
Martin Wilke f177347770 - Fix build after strndup MFC
PR:		132009
Submitted by:	Florian Smeets <flo@kasimir.com>
Approved by:	maintainer timeout
2009-03-14 22:43:05 +00:00

60 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>