blob: 6657036cc154629f9da714e5d800c31cabf65eb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# 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= SF/smfs/smf-sav/smf-sav-${PORTVERSION}: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
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
.endif
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.post.mk>
|