aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix25/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-12 17:08:16 +0800
committerpav <pav@FreeBSD.org>2004-05-12 17:08:16 +0800
commit7d8905400e90d4c515a88dbefc8fcb1fe6d21b89 (patch)
tree5e68964d5f06b65bf5bc6d8075754221c52750d6 /mail/postfix25/Makefile
parent444a8d2449452ab5b1f25d4361ec6008e1c69023 (diff)
downloadfreebsd-ports-gnome-7d8905400e90d4c515a88dbefc8fcb1fe6d21b89.tar.gz
freebsd-ports-gnome-7d8905400e90d4c515a88dbefc8fcb1fe6d21b89.tar.zst
freebsd-ports-gnome-7d8905400e90d4c515a88dbefc8fcb1fe6d21b89.zip
- Update to 2.1.0
PR: ports/66215 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)
Diffstat (limited to 'mail/postfix25/Makefile')
-rw-r--r--mail/postfix25/Makefile49
1 files changed, 31 insertions, 18 deletions
diff --git a/mail/postfix25/Makefile b/mail/postfix25/Makefile
index 42370f14143b..814f157da47a 100644
--- a/mail/postfix25/Makefile
+++ b/mail/postfix25/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: postfix-current
+# New ports collection makefile for: postfix
# Date created: 18 Mar 1999
# Whom: torstenb
#
@@ -15,7 +15,7 @@
# NOTE: PCRE is enabled by default unless you specifically disable it.
PORTNAME= postfix
-PORTVERSION= 2.0.20
+PORTVERSION= 2.1.0
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
@@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR= . old related/postfix
DISTNAME= postfix-${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= postfix-2.0-ns-mx-acl-patch.gz
-
MAINTAINER= vivek@khera.org
COMMENT= A secure alternative to widely-used Sendmail
-CONFLICTS= courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*
+CONFLICTS= courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*
USE_SUBMAKE= yes
USE_REINPLACE= yes
@@ -42,19 +39,34 @@ MAN1= mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \
postsuper.1 sendmail.1
-MAN5= access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \
- relocated.5 transport.5 virtual.5
+MAN5= access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \
+ mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \
+ regexp_table.5 relocated.5 transport.5 virtual.5 \
+ header_checks.5 body_checks.5
MAN8= bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \
- master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \
- smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8
+ master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \
+ smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8
# TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to
# patch it.
MAN8base=$(MAN8:S/tlsmgr.8//)
-CONF1= main.cf master.cf access aliases canonical pcre_table regexp_table \
- relocated transport virtual
+CONF1= main.cf master.cf access aliases canonical header_checks relocated \
+ transport virtual
+
+README= ADDRESS_CLASS_README ADDRESS_REWRITING_README \
+ ADDRESS_VERIFICATION_README BACKSCATTER_README \
+ BASIC_CONFIGURATION_README BUILTIN_FILTER_README \
+ CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \
+ DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \
+ LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \
+ MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \
+ PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \
+ SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \
+ SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \
+ ULTRIX_README UUCP_README VERP_README VIRTUAL_README \
+ XCLIENT_README XFORWARD_README
.if !defined(DEBUG)
MAKEFILEFLAGS+= DEBUG=
@@ -88,6 +100,7 @@ post-patch:
${ECHO} "all: default" >> Makefile)
pre-patch:
+ ${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html
.for file in ${MAN1}
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html
@@ -100,9 +113,11 @@ pre-patch:
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html
.endfor
-.for file in faq rate rewrite uce
+.for file in ${README}
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
${WRKSRC}/html/${file}.html
+ @${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
+ ${WRKSRC}/README_FILES/${file}
.endfor
.for file in ${CONF1}
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file}
@@ -134,7 +149,7 @@ do-install:
.for file in ${CONF1}
${INSTALL_DATA} ${WRKSRC}/conf/${file} \
- ${PREFIX}/etc/postfix/sample-${file}
+ ${PREFIX}/etc/postfix/dist-${file}
.endfor
@${INSTALL_SCRIPT} \
@@ -143,14 +158,12 @@ do-install:
# optional TEST binaries
.for file in ${BIN1}
- @${INSTALL_PROGRAM} \
- ${WRKSRC}/src/smtpstone/${file} \
- ${PREFIX}/sbin
+ @${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin
.endfor
.if !defined(NOPORTDOCS)
@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR}
- @cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \
+ @cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \
${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"
.endif