summaryrefslogtreecommitdiff
path: root/games/gnomermind
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-06 19:06:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-06 19:06:30 +0000
commitc0633510da317c661ae44bc821eb97649ae74106 (patch)
tree7ef93f9f261eb1db468322db19874df79369ff2e /games/gnomermind
parentUpdate to 0.6. (diff)
Use USE_GNOMENG.
Notes
Notes: svn path=/head/; revision=64115
Diffstat (limited to 'games/gnomermind')
-rw-r--r--games/gnomermind/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/games/gnomermind/Makefile b/games/gnomermind/Makefile
index 519581ca7091..a069c6362f10 100644
--- a/games/gnomermind/Makefile
+++ b/games/gnomermind/Makefile
@@ -13,22 +13,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sobomax@FreeBSD.org
-BUILD_DEPENDS= msgfmt-old:${PORTSDIR}/devel/gettext-old
-
USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib" \
- MSGFMT="${LOCALBASE}/bin/msgfmt-old" \
- XGETTEXT="${LOCALBASE}/bin/xgettext-old"
+ LIBS="-L${LOCALBASE}/lib"
+MAKE_ENV= OLD_PO_FILE_INPUT=1
-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>