1994-09-21 12:42:56 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# X must be running when the scram program creates the bitmaps
|
1994-09-23 00:38:42 +00:00
|
|
|
xwd -root >/dev/null 2>&1
|
1994-09-21 12:42:56 +00:00
|
|
|
if [ $? != 0 ]; then
|
|
|
|
echo "X needs to be started to build xmris"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
1994-10-04 15:12:57 +00:00
|
|
|
mv ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig
|
1994-09-21 12:42:56 +00:00
|
|
|
|
1994-10-04 15:12:57 +00:00
|
|
|
echo "LOCAL=/usr/local" >${WRKSRC}/Imakefile || exit 1;
|
1994-09-21 12:42:56 +00:00
|
|
|
|
|
|
|
# remove extra space after \ in continuation lines
|
1994-10-04 15:12:57 +00:00
|
|
|
sed -e 's/\\ $/\\/' <${WRKSRC}/Imakefile.orig >>${WRKSRC}/Imakefile || exit 1
|
1994-09-21 12:42:56 +00:00
|
|
|
|
1994-10-04 15:12:57 +00:00
|
|
|
echo "CDEBUGFLAGS=-O2" >>${WRKSRC}/Imakefile || exit 1
|
|
|
|
echo "MANSUFFIX=6" >>${WRKSRC}/Imakefile || exit 1
|
1994-09-21 12:42:56 +00:00
|
|
|
|
|
|
|
exit 0
|