=================================================================== RCS file: /cvs/ports/cad/tkgate2/Attic/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ports/cad/tkgate2/Attic/Makefile 2010/10/26 04:58:22 1.5 +++ ports/cad/tkgate2/Attic/Makefile 2011/11/09 10:43:15 1.6 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2010/10/26 03:58:22 yason Exp $ +# $OpenBSD: Makefile,v 1.6 2011/11/09 10:43:15 yason Exp $ COMMENT = Tcl/Tk based digital circuit editor and simulator @@ -31,5 +31,9 @@ .for i in *.orig* *.bak* *.old *~ @find ${WRKSRC} -name $i -exec rm {} \; .endfor + +pre-configure: + perl -pi -e 's|!!LOCALBASE!!|${LOCALBASE}|g' ${WRKSRC}/scripts/parms.tcl + perl -pi -e 's|!!LOCALBASE!!|${LOCALBASE}|g' ${WRKSRC}/src/tkgate/verilog_out.c .include