# $NetBSD: Makefile.common,v 1.51 2010/01/16 00:31:13 jnemeth Exp $ # # used by mail/libmilter/Makefile # used by mail/sendmail/Makefile # DISTNAME= sendmail.${DIST_VERS} CATEGORIES= mail MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ ftp://ftp.sendmail.org/pub/sendmail/past-releases/ \ ftp://ftp.fu-berlin.de/pub/unix/mail/sendmail/ OWNER?= jnemeth@NetBSD.org HOMEPAGE= http://www.sendmail.org/ LICENSE= sendmail-license DISTINFO_FILE= ${.CURDIR}/../../mail/sendmail/distinfo FILESDIR= ${.CURDIR}/../../mail/sendmail/files PATCHDIR= ${.CURDIR}/../../mail/sendmail/patches DIST_VERS= 8.14.4 MAKE_ENV+= BSD_BINOWN=${BINOWN} BSD_BINGRP=${BINGRP} \ BSD_MANOWN=${MANOWN} BSD_MANGRP=${MANGRP} \ BUILDLINK_DIR=${BUILDLINK_DIR} \ SMRSH_CMDDIR=${SMRSH_CMDDIR} SITECONFIG= ${WRKSRC}/devtools/Site/site.config.m4 BUILD_DEFS+= SMRSH_CMDDIR WRKSRC= ${WRKDIR}/sendmail-${DIST_VERS} USE_TOOLS+= gm4 MAKE_ENV+= M4=${TOOLS_M4} .PHONY: make-sendmail-siteconfig make-sendmail-siteconfig: ${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG} ${CHMOD} +w ${SITECONFIG} .if !empty(PKG_OPTIONS:Minet6) ${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG} . if (${OPSYS} != "SunOS") && (${OPSYS} != "BSDOS") && \ (${OPSYS} != "DragonFly") && (${OPSYS} != "FreeBSD") ${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG} . endif .endif ${CAT} ${FILESDIR}/site.config.m4-milter >>${SITECONFIG}