fix cfg file after install

This commit is contained in:
Andrey A. Chernov 1999-01-04 15:04:31 +00:00
parent 1b35d26302
commit 208e9b9083
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15821
2 changed files with 12 additions and 2 deletions

View file

@ -24,6 +24,11 @@ MAN1= timidity.1
post-install:
cd ${PREFIX}/lib/timidity && \
tar zxf ${DISTDIR}/${TIINS}
tar zxf ${DISTDIR}/${TIINS} && \
cp goemon.cfg goemon.cfg.bak && \
sed 's=dir goemon=dir ${PREFIX}/lib/timidity/goemon=' \
< goemon.cfg.bak > goemon.cfg && \
rm goemon.cfg.bak
.include <bsd.port.mk>

View file

@ -24,6 +24,11 @@ MAN1= timidity.1
post-install:
cd ${PREFIX}/lib/timidity && \
tar zxf ${DISTDIR}/${TIINS}
tar zxf ${DISTDIR}/${TIINS} && \
cp goemon.cfg goemon.cfg.bak && \
sed 's=dir goemon=dir ${PREFIX}/lib/timidity/goemon=' \
< goemon.cfg.bak > goemon.cfg && \
rm goemon.cfg.bak
.include <bsd.port.mk>