=================================================================== RCS file: /cvs/ports/cad/tkgate2/Attic/Makefile,v retrieving revision 1.4 retrieving revision 1.6 diff -u -r1.4 -r1.6 --- ports/cad/tkgate2/Attic/Makefile 2009/10/13 14:02:19 1.4 +++ ports/cad/tkgate2/Attic/Makefile 2011/11/09 10:43:15 1.6 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2009/10/13 13:02:19 yason Exp $ +# $OpenBSD: Makefile,v 1.6 2011/11/09 10:43:15 yason Exp $ COMMENT = Tcl/Tk based digital circuit editor and simulator @@ -25,12 +25,15 @@ LIB_DEPENDS = ${MODTK_LIB_DEPENDS} -USE_X11 = Yes CONFIGURE_STYLE = gnu pre-patch: .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