mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
14 lines
321 B
Plaintext
14 lines
321 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
cd $WRKSRC || exit 1;
|
||
|
|
||
|
mv Makefile Makefile.orig || exit 1;
|
||
|
|
||
|
sed -e 's:/usr/.* ::' <Makefile.orig>Makefile
|
||
|
|
||
|
echo "DEBUG = -O" >> Makefile
|
||
|
echo "INSTALLPATH = $PREFIX" >> Makefile
|
||
|
echo "CCPLUSPLUS = c++ -c" >> Makefile
|
||
|
echo "LD = c++" >> Makefile
|
||
|
echo "MANINSTALLDIR = $PREFIX/man/man1" >> Makefile
|
||
|
exit 0;
|