pkgsrc/mail/nail/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

41 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.35 2007/09/07 22:12:13 jlam Exp $
DISTNAME= nail-11.25
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nail/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= cjep@NetBSD.org
HOMEPAGE= http://nail.sourceforge.net/
COMMENT= BSD mail utility with MIME extensions
MAKE_ENV+= "SYSCONFDIR=${PKG_SYSCONFDIR}"
PKG_OPTIONS_VAR= PKG_OPTIONS.nail
PKG_SUPPORTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
MAKE_ENV+= "IPv6=-DHAVE_IPv6_FUNCS"
.endif
.if (${OPSYS} == "SunOS" || ${OPSYS} == "IRIX")
MAKE_ENV+= "SENDMAIL=/usr/lib/sendmail"
.endif
EGDIR= ${PREFIX}/share/examples/nail
CONF_FILES= ${EGDIR}/nail.rc ${PKG_SYSCONFDIR}/nail.rc
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nail ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/nail.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/nail.rc ${EGDIR}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"