summaryrefslogtreecommitdiff
path: root/games/gnomoku
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-16 16:02:48 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-16 16:02:48 +0000
commitd47ba75953b80438addd1affdb5ebd37d84f7f14 (patch)
treecd2f53c147c1463321b65f44522b5f4a9890c4a2 /games/gnomoku
parentadd race 0.5 (diff)
Use USE_GNOMENG.
Notes
Notes: svn path=/head/; revision=63091
Diffstat (limited to 'games/gnomoku')
-rw-r--r--games/gnomoku/Makefile12
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>