aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix22/scripts/configure
blob: a0b443f5596890209408e2775a514e45b89dcd07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# $Id: configure,v 1.1.1.1 1999/03/29 20:15:08 torstenb Exp $

mv ${WRKSRC}/global/mail_params.h ${WRKSRC}/global/mail_params.h.bak
sed <${WRKSRC}/global/mail_params.h.bak >${WRKSRC}/global/mail_params.h s+!!PREFIX!!+$PREFIX+g

mv ${WRKSRC}/conf/main.cf ${WRKSRC}/conf/main.cf.bak
sed s+!!PREFIX!!+$PREFIX+g <${WRKSRC}/conf/main.cf.bak >${WRKSRC}/conf/main.cf

cd ${WRKSRC}/man

for f in ${MAN1} ; do
    mv man1/$f man1/$f.bak && \
        sed s+!!PREFIX!!+$PREFIX+g <man1/$f.bak | soelim >man1/$f
done
    
for f in ${MAN5} ; do
    mv man5/$f man5/$f.bak && \
        sed s+!!PREFIX!!+$PREFIX+g <man5/$f.bak | soelim >man5/$f
done
    
for f in ${MAN8} ; do
    mv man8/$f man8/$f.bak && \
        sed s+!!PREFIX!!+$PREFIX+g <man8/$f.bak | soelim >man8/$f
done