summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-02-02 22:21:53 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-02-02 22:21:53 +0000
commit49e6c7eb43160d0d29ba1b4118b352c317b8a3e3 (patch)
treeb9a5547d7620bdddb683be390a9d3a4d86d9669c /sysutils
parent${LOCALBASE}/sbin seems more correct that ${PREFIX}/sbin. (diff)
Teach webmin about the correct default postfix location (in ${LOCALBASE})
Notes
Notes: svn path=/head/; revision=37915
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/webmin/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 487d351d498d..0e350b04b87b 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -27,6 +27,14 @@ post-patch:
${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.3
${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.4
+ ${CP} ${WRKSRC}/postfix/config ${WRKSRC}/postfix/config.sed
+ ${SED} -e "s@/usr/sbin/postfix@${LOCALBASE}/sbin/postfix@" \
+ -e "s@/usr/sbin/postconf@${LOCALBASE}/sbin/postconf@" \
+ -e "s@/etc/postfix/main.cf@${LOCALBASE}/etc/postfix/main.cf@" \
+ -e "s@/usr/sbin/postalias@${LOCALBASE}/sbin/postalias@" \
+ -e "s@/usr/sbin/postmap@${LOCALBASE}/sbin/postmap@" \
+ ${WRKSRC}/postfix/config.sed > ${WRKSRC}/postfix/config
+ ${RM} ${WRKSRC}/postfix/config.sed
do-install:
@${MKDIR} ${PREFIX}/lib/webmin