1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Teach webmin about the correct default postfix location (in ${LOCALBASE})

This commit is contained in:
Jimmy Olgeni 2001-02-02 22:21:53 +00:00
parent a304eb33d9
commit 49e6c7eb43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37915

View File

@ -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