# $NetBSD: Makefile,v 1.34 2007/02/22 19:26:41 wiz 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
BUILD_DEFS+= USE_INET6
MAKE_ENV+= "SYSCONFDIR=${PKG_SYSCONFDIR}"
.include "../../mk/bsd.prefs.mk"
# IPv6 support
#
.if ${USE_INET6} == "YES"
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"
CVSweb <webmaster@jp.NetBSD.org>