[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / sendmail813

File: [cvs.NetBSD.org] / pkgsrc / mail / sendmail813 / Attic / Makefile.common (download)

Revision 1.3, Tue May 19 08:59:22 2009 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.2: +1 -2 lines

Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

# $NetBSD: Makefile.common,v 1.3 2009/05/19 08:59:22 wiz Exp $
#
#

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/ \
		ftp://ftp.ayamura.org/pub/sendmail/

MAINTAINER=	jnemeth@NetBSD.org
HOMEPAGE=	http://www.sendmail.org/
LICENSE=	sendmail-license

DISTINFO_FILE?=	${.CURDIR}/../../mail/sendmail813/distinfo
FILESDIR?=	${.CURDIR}/../../mail/sendmail813/files
PATCHDIR?=	${.CURDIR}/../../mail/sendmail813/patches

DIST_VERS=	8.13.8

MAKE_ENV+=	BSD_BINOWN=${BINOWN:Q} BSD_BINGRP=${BINGRP:Q} \
		BSD_MANOWN=${MANOWN:Q} BSD_MANGRP=${MANGRP:Q} \
		BUILDLINK_DIR=${BUILDLINK_DIR:Q} \
		SMRSH_CMDDIR=${SMRSH_CMDDIR:Q}
SITECONFIG=	${WRKSRC}/devtools/Site/site.config.m4

BUILD_DEFS+=	SMRSH_CMDDIR

WRKSRC=		${WRKDIR}/sendmail-${DIST_VERS}
USE_TOOLS+=	gm4
MAKE_ENV+=	M4=${TOOLS_M4:Q}

.include "../../mk/bsd.prefs.mk"
.include "options.mk"

.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"
	${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
.  endif
.endif
	${CAT} ${FILESDIR}/site.config.m4-milter >>${SITECONFIG}