From b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02 Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Thu, 5 Oct 2000 07:10:50 +0000 Subject: Implement USE_GNOME, part 1. --- games/pythoong/Makefile | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'games/pythoong') diff --git a/games/pythoong/Makefile b/games/pythoong/Makefile index bc4b6086ab90..97488dbad7a8 100644 --- a/games/pythoong/Makefile +++ b/games/pythoong/Makefile @@ -13,28 +13,21 @@ MASTER_SITES= http://perso.wanadoo.fr/christophe.cressend/tarballs/ MAINTAINER= sobomax@FreeBSD.org BUILD_DEPENDS= xbmtopbm:${PORTSDIR}/graphics/netpbm -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs -RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter WRKSRC= ${WRKDIR}/${PORTNAME} USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOME= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - -CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ - GTK_CONFIG="${GTK_CONFIG}" \ - CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" - -post-extract: +pre-patch: @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|\$\(datadir\)/pixmaps|\$\(datadir\)/gnome/pixmaps|g ; \ - s|\$\(localstatedir\)/games|\$\(datadir\)/gnome/games|g' + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' .include -- cgit v1.2.3