=================================================================== RCS file: /cvs/ports/cad/tkgate2/Attic/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.6 diff -u -r1.1.1.1 -r1.6 --- ports/cad/tkgate2/Attic/Makefile 2009/08/30 08:48:23 1.1.1.1 +++ ports/cad/tkgate2/Attic/Makefile 2011/11/09 10:43:15 1.6 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2009/08/30 07:48:23 yason Exp $ +# $OpenBSD: Makefile,v 1.6 2011/11/09 10:43:15 yason Exp $ COMMENT = Tcl/Tk based digital circuit editor and simulator -DISTNAME = tkgate-2.0-b9 +DISTNAME = tkgate-2.0-b10 CATEGORIES = cad x11 @@ -18,17 +18,22 @@ PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -WANTLIB = ICE SM X11 Xau Xdmcp c m +WANTLIB = ICE SM X11 Xau Xdmcp c m pthread-stubs xcb -MODULES = x11/tk -LIB_DEPENDS = ${MODTK_LIB_DEPENDS} \ - iconv.>=5::converters/libiconv +MODULES = converters/libiconv \ + x11/tk -USE_X11 = Yes +LIB_DEPENDS = ${MODTK_LIB_DEPENDS} + CONFIGURE_STYLE = gnu pre-patch: - @find ${WRKSRC} -name *.orig -exec rm {} \; - @find ${WRKSRC} -name *.*~ -exec rm {} \; +.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