=================================================================== RCS file: /cvs/ports/cad/tkgate2/Attic/Makefile,v retrieving revision 1.2 retrieving revision 1.5 diff -u -r1.2 -r1.5 --- ports/cad/tkgate2/Attic/Makefile 2009/09/06 08:38:56 1.2 +++ ports/cad/tkgate2/Attic/Makefile 2010/10/26 04:58:22 1.5 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.2 2009/09/06 07:38:56 yason Exp $ +# $OpenBSD: Makefile,v 1.5 2010/10/26 03:58:22 yason Exp $ COMMENT = Tcl/Tk based digital circuit editor and simulator -DISTNAME = tkgate-2.0-b9 +DISTNAME = tkgate-2.0-b10 CATEGORIES = cad x11 @@ -25,11 +25,11 @@ LIB_DEPENDS = ${MODTK_LIB_DEPENDS} -USE_X11 = Yes 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 .include