aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnomermind
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-08-07 03:06:30 +0800
committersobomax <sobomax@FreeBSD.org>2002-08-07 03:06:30 +0800
commit36b31b42049a60a73e23655795087c6726f532c5 (patch)
treeba0554be0ac5de3ad2b75f88cef13595aaae59be /games/gnomermind
parent75faf75eaa69adad9c3c515dfa0d56b012fc7935 (diff)
downloadfreebsd-ports-gnome-36b31b42049a60a73e23655795087c6726f532c5.tar.gz
freebsd-ports-gnome-36b31b42049a60a73e23655795087c6726f532c5.tar.zst
freebsd-ports-gnome-36b31b42049a60a73e23655795087c6726f532c5.zip
Use USE_GNOMENG.
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>