summaryrefslogtreecommitdiffstats
path: root/games/pythoong
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 07:10:50 +0000
committerreg <reg@FreeBSD.org>2000-10-05 07:10:50 +0000
commit30fb8569371544b140cbfbe9d8d545a551b7a815 (patch)
treecf43db91e2cefcf20de68716f427d533c59601f6 /games/pythoong
parentcea38f8422a3eeac06b3ce4a5828580a5812d2cc (diff)
downloadFreeBSD-ports-30fb8569371544b140cbfbe9d8d545a551b7a815.zip
FreeBSD-ports-30fb8569371544b140cbfbe9d8d545a551b7a815.tar.gz
Implement USE_GNOME, part 1.
Diffstat (limited to 'games/pythoong')
-rw-r--r--games/pythoong/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/games/pythoong/Makefile b/games/pythoong/Makefile
index bc4b608..97488db 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 <bsd.port.mk>
OpenPOWER on IntegriCloud