=================================================================== RCS file: /cvs/ports/games/glob2/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ports/games/glob2/Attic/Makefile 2009/05/13 04:31:08 1.1 +++ ports/games/glob2/Attic/Makefile 2009/07/08 12:42:38 1.2 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2009/05/13 03:31:08 yason Exp $ +# $OpenBSD: Makefile,v 1.2 2009/07/08 11:42:38 yason Exp $ COMMENT = innovative strategy game @@ -27,7 +27,6 @@ LINKFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib \ -pthread -logg -lvorbis -lstdc++" \ BINDIR="${PREFIX}/bin" \ - DATADIR="${PREFIX}/share" \ INSTALLDIR="${PREFIX}/share" \ --portaudio=true @@ -46,5 +45,10 @@ pre-patch: @find ${WRKSRC} -name *.orig -exec rm {} \; @find ${WRKSRC} -name *~ -exec rm {} \; +post-patch: + @perl -pi -e 's|Options|Variables|g' \ + ${WRKSRC}/SConstruct + @perl -pi -e 's|BoolOption|BoolVariable|g' \ + ${WRKSRC}/SConstruct .include