1998-01-30 04:53:55 +00:00
|
|
|
# New ports collection makefile for: smtpfeed
|
|
|
|
# Date created: 17 January 1998
|
|
|
|
# Whom: itojun@itojun.org
|
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1998-01-30 04:53:55 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:01:08 +00:00
|
|
|
PORTNAME= smtpfeed
|
2000-04-15 13:45:35 +00:00
|
|
|
PORTVERSION= 1.05
|
1998-01-30 04:53:55 +00:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/ \
|
|
|
|
ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/ \
|
1999-01-09 14:56:55 +00:00
|
|
|
ftp://ftp.sendmail.org/ucb/src/sendmail/ \
|
|
|
|
http://freefall.freebsd.org/~itojun/distfiles/
|
1998-01-30 04:53:55 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SENDMAIL}${EXTRACT_SUFX} \
|
|
|
|
${SENDMAILPATCH}.patch.gz
|
|
|
|
|
2001-01-09 05:57:08 +00:00
|
|
|
MAINTAINER= ports@freebsd.org
|
1998-01-30 04:53:55 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
|
1999-02-19 04:24:09 +00:00
|
|
|
SENDMAILVER= 8.9.3
|
1998-08-01 05:45:18 +00:00
|
|
|
SENDMAIL= sendmail.${SENDMAILVER}
|
|
|
|
SENDMAILDIR= sendmail-${SENDMAILVER}
|
1999-04-03 08:25:18 +00:00
|
|
|
SENDMAILPATCH= sendmail893+3.2W
|
1998-01-30 04:53:55 +00:00
|
|
|
WRKSRC_SMTPFEED= ${WRKSRC}
|
|
|
|
WRKSRC_SENDMAIL= ${WRKDIR}/${SENDMAILDIR}/src
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec
|
|
|
|
# use bind8?
|
|
|
|
#CONFIGURE_ARGS+= --with-bind8
|
|
|
|
|
1998-05-11 03:49:28 +00:00
|
|
|
DOCS= COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \
|
|
|
|
OPTIONS OPTIONS.j README README.j RELEASE.NOTE SIGNAL SIGNAL.j TODO
|
1998-01-30 04:53:55 +00:00
|
|
|
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)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCDIR}
|
|
|
|
for i in ${DOCS}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \
|
|
|
|
done
|
|
|
|
.endif
|
2000-10-08 10:23:48 +00:00
|
|
|
@${SED} -e 's#/usr/local#${PREFIX}#' ${PKGMESSAGE}
|
1998-01-30 04:53:55 +00:00
|
|
|
|
|
|
|
install-sendmail:
|
|
|
|
(cd ${WRKSRC_SENDMAIL}; sh makesendmail install)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|