diff options
author | itojun <itojun@pkgsrc.org> | 1999-11-29 08:06:32 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 1999-11-29 08:06:32 +0000 |
commit | 45b20285eba650a7fedf47b2bb125feba754d519 (patch) | |
tree | fecd86ebcee506ba7dee83e39ddec6d3cabd1454 /mail/smtpfeed/Makefile | |
parent | ac926ffdaeadf8cd10f283174002a1fcfe94a732 (diff) | |
download | pkgsrc-45b20285eba650a7fedf47b2bb125feba754d519.tar.gz |
from KAME/netbsd repository
Diffstat (limited to 'mail/smtpfeed/Makefile')
-rw-r--r-- | mail/smtpfeed/Makefile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/mail/smtpfeed/Makefile b/mail/smtpfeed/Makefile new file mode 100644 index 00000000000..fac96256f41 --- /dev/null +++ b/mail/smtpfeed/Makefile @@ -0,0 +1,60 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/11/29 08:06:32 itojun Exp $ +# KAME $Id: Makefile,v 1.1.1.1 1999/11/29 08:06:32 itojun Exp $ +# Based on FreeBSD Id: Makefile,v 1.27 1999/04/03 08:25:18 itojun Exp +# + +DISTNAME= smtpfeed-1.02 +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/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SENDMAIL}${EXTRACT_SUFX} \ + ${SENDMAILPATCH}.patch.gz + +MAINTAINER= itojun@itojun.org +HOMEPAGE= http://www.kyoto.wide.ad.jp/mta/sendmail.html#smtpfeed + +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${SENDMAIL}${EXTRACT_SUFX} +PATCH_SENDMAIL_ARGS= -d ${WRKSRC_SENDMAIL} -E ${PATCH_DIST_STRIP} +NO_PACKAGE= "complex configuration for sendmail.cf needed" + +SENDMAILVER= 8.9.3 +SENDMAIL= sendmail.${SENDMAILVER} +SENDMAILDIR= sendmail-${SENDMAILVER} +SENDMAILPATCH= sendmail893+3.2W +WRKSRC_SMTPFEED= ${WRKSRC} +WRKSRC_SENDMAIL= ${WRKDIR}/${SENDMAILDIR}/src + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec +# use bind8? +#CONFIGURE_ARGS+= --with-bind8 + +DOCS= COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \ + OPTIONS OPTIONS.j README README.j RELEASE.NOTE SIGNAL SIGNAL.j TODO +DOCDIR= ${PREFIX}/share/doc/smtpfeed + +post-patch: + @${ECHO_MSG} "===> Applying smtpfeed patch ${SENDMAILPATCH} to ${SENDMAIL}" + @(cd ${_DISTDIR}; for i in ${SENDMAILPATCH}.patch.gz; do \ + ${GZCAT} $$i | ${PATCH} ${PATCH_SENDMAIL_ARGS}; \ + done) + +post-build: + @${ECHO_MSG} "===> Building patched ${SENDMAIL}" + @(cd ${WRKSRC_SENDMAIL}; sh makesendmail -f site.config-v6.kame) + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCDIR} + for i in ${DOCS}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \ + done +.endif + @${SED} -e 's#/usr/local#${PREFIX}#' ${PKGDIR}/MESSAGE + +install-sendmail: + (cd ${WRKSRC_SENDMAIL}; sh makesendmail install) + +.include "../../mk/bsd.pkg.mk" |