From d47ba75953b80438addd1affdb5ebd37d84f7f14 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 16 Jul 2002 16:02:48 +0000 Subject: Use USE_GNOMENG. --- games/gnomoku/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'games/gnomoku') diff --git a/games/gnomoku/Makefile b/games/gnomoku/Makefile index 193ece64553f..dce271b99dfa 100644 --- a/games/gnomoku/Makefile +++ b/games/gnomoku/Makefile @@ -16,17 +16,15 @@ MAINTAINER= gnome@FreeBSD.org LIB_DEPENDS= gnomemm.9:${PORTSDIR}/x11-toolkits/gnome-- USE_X_PREFIX= yes -#USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomelibs +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-fpermissive -I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ - 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' .include -- cgit v1.2.3