blob: 75215bd623cded11a03bc319e2d1fd13f3f27f9e (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#!/bin/sh
# usage: $0 branch
#### -j# to make index
###INDEXJOBS=1
usage () {
echo "usage: makeindex branch"
exit 1
}
if [ $# != 1 ]; then
usage
fi
case "x$1" in
x4)
branch=4
export PORTOBJFORMAT=elf
export OSREL=4.5
export OSVERSION=450000
;;
x4-exp)
branch=4-exp
export PORTOBJFORMAT=elf
export OSREL=4.5
export OSVERSION=450000
;;
x5)
branch=5
export PORTOBJFORMAT=elf
export OSREL=5.0
export OSVERSION=500027
;;
*)
usage
;;
esac
export PORTSDIR=$(pwd)
if [ "x$NODUMMY" = "x" ]; then
unset XFREE86_VERSION
unset MOTIF_OPEN
else
export XFREE86_VERSION=4
export MOTIF_OPEN=t
fi
unset DISPLAY
export BATCH=t
export HAVE_MOTIF=t
export PACKAGE_BUILDING=t
export PARALLEL_PACKAGE_BUILD=t
export SRCBASE=/var/portbuild/${branch}/src
#export NO_RESTRICTED=t
#export FOR_CDROM=t
#export INDEX_NOSORT=t
make index
# remove extra spaces in dependency list -- this could cause problems
sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' INDEX > INDEX.tmp
mv -f INDEX.tmp INDEX
|