blob: cfb7c4625fcfbf8d446d796767a745f375b90132 (
plain)
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
|
# $NetBSD: Makefile,v 1.21 2002/03/19 13:23:26 taca Exp $
# Based on FreeBSD Id: Makefile,v 1.27 1999/04/03 08:25:18 itojun Exp
#
DISTNAME= smtpfeed-1.18
CATEGORIES= mail
MASTER_SITES= ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/ \
ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/ \
ftp://ftp.sendmail.org/ucb/src/sendmail/ \
http://freefall.freebsd.org/~itojun/distfiles/
MAINTAINER= itojun@itojun.org
HOMEPAGE= http://www.kyoto.wide.ad.jp/mta/sendmail.html#smtpfeed
COMMENT= SMTP Fast Exploding External Deliverer for Sendmail
# sendmail 8.x with WIDE patch works better with it, than stock 8.x.
# require sendmail from pkgsrc.
#DEPENDS+= sendmail>=8.9.3:../../mail/sendmail
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec
# use bind8?
#CONFIGURE_ARGS+= --with-bind8
DOCS= COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \
ML-ADMIN ML-ADMIN.j OPTIONS OPTIONS.j README README.j \
RELEASE.NOTE SIGNAL SIGNAL.j TODO
DOCDIR= ${PREFIX}/share/doc/smtpfeed
BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+=--enable-ipv6
.endif
.if (${OPSYS} == SunOS)
NROFF?= nroff -man
.else
NROFF?= nroff -mandoc
.endif
post-build:
cd ${WRKSRC} && \
${NROFF} smtpfeed.8 > smtpfeed.cat8
post-install:
${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/smtpfeed.cat8 ${PREFIX}/man/cat8/smtpfeed.0
${INSTALL_DATA_DIR} ${DOCDIR}
for i in ${DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"
|