aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-02-03 06:21:53 +0800
committerolgeni <olgeni@FreeBSD.org>2001-02-03 06:21:53 +0800
commit14cb3b2608e41edc95beeaca34ac45dd12f4df6c (patch)
tree1d391938a07b592062d328b52945dceac6f7e899 /sysutils
parent631e9464944301f75b54e7007736f4212a3a55d3 (diff)
downloadfreebsd-ports-graphics-14cb3b2608e41edc95beeaca34ac45dd12f4df6c.tar.gz
freebsd-ports-graphics-14cb3b2608e41edc95beeaca34ac45dd12f4df6c.tar.zst
freebsd-ports-graphics-14cb3b2608e41edc95beeaca34ac45dd12f4df6c.zip
Teach webmin about the correct default postfix location (in ${LOCALBASE})
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 487d351d498..0e350b04b87 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