diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-01-02 23:50:43 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-01-02 23:50:43 +0800 |
commit | 13246f1e5f522e1261834f6abebd2c03fd4fbdb1 (patch) | |
tree | 88a2f63474211ce0ba51a39b05fbbd1df8535b73 /mail/postfix25/Makefile | |
parent | 7dc5f15c2d1204d4c776d29baee65e2f2c2f9465 (diff) | |
download | freebsd-ports-gnome-13246f1e5f522e1261834f6abebd2c03fd4fbdb1.tar.gz freebsd-ports-gnome-13246f1e5f522e1261834f6abebd2c03fd4fbdb1.tar.zst freebsd-ports-gnome-13246f1e5f522e1261834f6abebd2c03fd4fbdb1.zip |
upgrade to 1.1.12
PR: 45802
Submitted by: maintainer
Diffstat (limited to 'mail/postfix25/Makefile')
-rw-r--r-- | mail/postfix25/Makefile | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/mail/postfix25/Makefile b/mail/postfix25/Makefile index 6b47f15e39d2..6adf63b1ee81 100644 --- a/mail/postfix25/Makefile +++ b/mail/postfix25/Makefile @@ -12,7 +12,7 @@ # the options are the same names as in the scripts/configure.postfix file PORTNAME= postfix -PORTVERSION= 1.1.11 +PORTVERSION= 1.1.12 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,6 +28,7 @@ DIST_SUBDIR= ${PORTNAME} MAINTAINER= khera@kciLink.com USE_SUBMAKE= yes +USE_REINPLACE= yes 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 \ @@ -40,6 +41,10 @@ MAN8= bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ master.8 nqmgr.8 pickup.8 pipe.8 qmgr.8 qmqpd.8 showq.8 smtp.8 \ smtpd.8 spawn.8 trivial-rewrite.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 @@ -66,6 +71,27 @@ post-patch: CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \ ${ECHO} "all: default" >> Makefile) +pre-patch: +.for file in ${MAN1} + @${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ + ${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html +.endfor +.for file in ${MAN5} + @${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ + ${WRKSRC}/man/man5/${file} ${WRKSRC}/html/${file}.html +.endfor +.for file in ${MAN8base} + @${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 + @${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ + ${WRKSRC}/html/${file}.html +.endfor +.for file in ${CONF1} + @${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} +.endfor + pre-install: @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL |