summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-05-30 17:05:28 +0000
committertron <tron@pkgsrc.org>1999-05-30 17:05:28 +0000
commitc07d143afc45cf7a47b5a65a9181356cf01f12f0 (patch)
tree56363878f51c96d98a54f3135f98ffb268c791bf /mail
parentefc6eefcbe9a98c787069b7f71850e4d173d22f0 (diff)
downloadpkgsrc-c07d143afc45cf7a47b5a65a9181356cf01f12f0.tar.gz
Add trailing "/" to home page URL to avoid redirect on access.
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index faed973c374..ad5b913f470 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1999/05/30 11:52:39 tron Exp $
+# $NetBSD: Makefile,v 1.5 1999/05/30 17:05:28 tron Exp $
DISTNAME= postfix-19990317-pl05
PKGNAME= postfix-19990317p05
@@ -6,7 +6,7 @@ CATEGORIES= mail
MASTER_SITES= ftp://postfix.cloud9.net/official/
MAINTAINER= christos@netbsd.org
-HOMEPAGE= http://www.postfix.org
+HOMEPAGE= http://www.postfix.org/
MIRROR_DISTFILE= no
@@ -21,11 +21,19 @@ pre-configure:
${SED} -e 's:__PREFIX:'${PREFIX}':g'< ${WRKSRC}/util/sys_defs.h.dist \
> ${WRKSRC}/util/sys_defs.h
+post-build:
+ ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
+ <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf.postfix
+
pre-install:
+ ${MKDIR} /etc/postfix
${MKDIR} ${PREFIX}/share/postfix ${PREFIX}/libexec/postfix
chown root.wheel ${PREFIX}/share/postfix ${PREFIX}/libexec/postfix
chmod 755 ${PREFIX}/share/postfix ${PREFIX}/libexec/postfix
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/mailer.conf.postfix ${PREFIX}/etc
+
.include "../../mk/bsd.prefs.mk"
.ifdef MANZ