summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>1999-05-30 17:05:28 +0000
committertron <tron>1999-05-30 17:05:28 +0000
commit0abf0270b64434a4db906029c178c7561f7585da (patch)
tree56363878f51c96d98a54f3135f98ffb268c791bf
parentace1cc92801513fa6291217be31189a8e36de982 (diff)
downloadpkgsrc-0abf0270b64434a4db906029c178c7561f7585da.tar.gz
Add trailing "/" to home page URL to avoid redirect on access.
-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