summaryrefslogtreecommitdiffstats
path: root/games/gnomegames/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-17 18:04:48 +0000
committersobomax <sobomax@FreeBSD.org>2002-07-17 18:04:48 +0000
commit2caf1b23e3fa8c65467c56365a8e4f19c6c6439b (patch)
tree2cfa0fb306fd372c06da4319b078b808af21eac9 /games/gnomegames/Makefile
parent5cf7bcfa2aee9bad7f6ce620429fdf04dd4a522f (diff)
downloadFreeBSD-ports-2caf1b23e3fa8c65467c56365a8e4f19c6c6439b.zip
FreeBSD-ports-2caf1b23e3fa8c65467c56365a8e4f19c6c6439b.tar.gz
Use USE_GNOMENG.
Diffstat (limited to 'games/gnomegames/Makefile')
-rw-r--r--games/gnomegames/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/gnomegames/Makefile b/games/gnomegames/Makefile
index 94fe101..bd985e6 100644
--- a/games/gnomegames/Makefile
+++ b/games/gnomegames/Makefile
@@ -20,20 +20,18 @@ LIB_DEPENDS= guile.10:${PORTSDIR}/lang/guile
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
`gdk-pixbuf-config --cflags`" \
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'
- @find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e \
- 's|malloc\.h|stdlib.h|g'
+ @find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
+ 's|malloc[.]h|stdlib.h|g'
.include <bsd.port.mk>
OpenPOWER on IntegriCloud