#!/bin/sh
#
# $FreeBSD: ports/cad/magic/scripts/post-configure,v 1.4 1999/08/29 10:58:06 peter Exp $
#

echo -DX11 -DPARANOID		>${WRKSRC}/misc/DFLAGS
echo -I${X11BASE}/include -O2	>${WRKSRC}/misc/CFLAGS
echo -L${X11BASE}/lib -lX11 -lm >${WRKSRC}/magic/LIBS
echo -x				>${WRKSRC}/magic/:ldx
echo /usr/libexec/cpp -P -traditional >${WRKSRC}/scmos/:cpp
echo echo $PREFIX 		>${WRKSRC}/:findcad
echo echo ranlib		>${WRKSRC}/:ranlib
echo "all:  everything" 	>>${WRKSRC}/Makefile
date 				>${WRKSRC}/.config
