mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-17 00:00:40 +00:00
11 lines
177 B
Plaintext
11 lines
177 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
dirs="."
|
||
|
|
||
|
for d in ${dirs}; do
|
||
|
perl -pi -e '
|
||
|
s@^(prefix[ \t]*=).*$@$1\${PREFIX}@;
|
||
|
s@^(exec_prefix[ \t]*=).*$@$1\${PREFIX}@;
|
||
|
' ${WRKSRC}/${d}/Makefile
|
||
|
done
|