blob: 6d68b58783cbdd899b65deeae2c8d305b9cb7486 (
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
66
67
68
69
|
# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$
PORTNAME= libspf
DISTVERSION= 1.0.0-p5
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.libspf.org/files/src/ \
LOCAL/mnag/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Sender Policy Framework (SPF) library and client
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
MAKE_JOBS_UNSAFE=yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= autoreconf libtool tar:bzip2
USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= RFC_RECURSION LOGFILE_STATS DEBUG DOCS EXAMPLES
RFC_RECURSION_DESC= Change SPF recursion to 20 (as per RFC)
LOGFILE_STATS_DESC= Enables logfile stats
RFC_RECURSION_CONFIGURE_ON= --enable-rfc-recursion
LOGFILE_STATS_CONFIGURE_ON= --enable-logfile-stats
DEBUG_CONFIGURE_ON= --enable-debug
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@${FIND} ${WRKSRC}/patches -type d -name CVS | ${XARGS} ${RM} -r
.for i in patches patches/qmail patches/qmail/1.03 patches/qmail/1.05 patches/Postfix \
patches/Postfix/2.1.x patches/Sendmail patches/Sendmail/8.12.x patches/Sendmail/8.13.x \
patches/Courier-MTA
@${MKDIR} ${STAGEDIR}${DATADIR}/${i}
@for f in `${FIND} ${WRKSRC}/${i} ! -type d -maxdepth 1`; do \
${INSTALL_DATA} $${f} ${STAGEDIR}${DATADIR}/${i}; \
done
.endfor
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${FIND} ${WRKSRC}/examples -type d -name CVS | ${XARGS} ${RM} -r
.for i in examples/qmail examples/qmail/control examples/Sendmail
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${i}
@for f in `${FIND} ${WRKSRC}/${i} ! -type d -maxdepth 1`; do \
${INSTALL_DATA} $${f} ${STAGEDIR}${EXAMPLESDIR}/${i}; \
done
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${FIND} ${WRKSRC}/docs -type d -name CVS | ${XARGS} ${RM} -r
.for i in docs docs/API docs/API/doxygen docs/API/doxygen/html docs/RFC docs/qmail \
docs/qmail/1.03 docs/qmail/1.04 docs/qmail/1.05 docs/spfqtool docs/Postfix \
docs/Postfix/2.1.x docs/Sendmail docs/Sendmail/8.12.x docs/Sendmail/8.13.x \
docs/Courier-MTA docs/history
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${i}
@for f in `${FIND} ${WRKSRC}/${i} ! -type d -maxdepth 1`; do \
${INSTALL_DATA} $${f} ${STAGEDIR}${DOCSDIR}/${i}; \
done
.endfor
.include <bsd.port.mk>
|