diff options
Diffstat (limited to 'games/gnomoku')
-rw-r--r-- | games/gnomoku/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
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 <bsd.port.mk> |