mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
a28363ada2
ELM with Korean extension. PR: 3332 Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>
48 lines
789 B
Bash
48 lines
789 B
Bash
#!/bin/sh
|
|
# tail part of configure
|
|
#
|
|
# by junker@jazz.snu.ac.kr
|
|
#
|
|
|
|
PortsDir=$PORTSDIR
|
|
CurDir=$CURDIR
|
|
WrkSrc=$WRKSRC
|
|
Prefix=$PREFIX
|
|
|
|
echo "prefix is $PREFIX"
|
|
|
|
# read configuration
|
|
. ./config.sh
|
|
|
|
echo " "
|
|
echo "Doing variable substitutions on .SH files..."
|
|
set x `awk '{print $1}' <MANIFEST | $grep '\.SH'`
|
|
shift
|
|
case $# in
|
|
0) set x *.SH; shift;;
|
|
esac
|
|
if test ! -f $1; then
|
|
shift
|
|
fi
|
|
|
|
for file in $*; do
|
|
case "$file" in
|
|
*/*)
|
|
dir=`$expr X$file : 'X\(.*\)/'`
|
|
file=`$expr X$file : 'X.*/\(.*\)'`
|
|
(cd $dir && . $file)
|
|
;;
|
|
*)
|
|
(. $file)
|
|
;;
|
|
esac
|
|
done
|
|
if test -f config.h.SH; then
|
|
if test ! -f config.h; then
|
|
: oops, they left it out of MANIFEST, probably, so do it anyway.
|
|
(. config.h.SH)
|
|
fi
|
|
fi
|
|
|
|
#make depend
|