pkgsrc/mail/smtpfeed/Makefile
jlam 07dd3147c6 Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
2007-09-07 22:12:10 +00:00

48 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2007/09/07 22:12:13 jlam Exp $
DISTNAME= smtpfeed-1.18
PKGREVISION= 1
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:Q}/libexec
# configure tries to be clever, so force our setting
CONFIGURE_ENV+= my_cv_path_lib_exec=${PREFIX:Q}/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
PKG_OPTIONS_VAR= PKG_OPTIONS.smtpfeed
PKG_SUPPORTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 share/doc/smtpfeed
post-install:
${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${PREFIX}/${PKGMANDIR}/man8
for i in ${DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/smtpfeed; \
done
.include "../../devel/sysexits/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"