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. --- graphics/gnofract4d/Makefile | 16 +++++++++------- graphics/gnofract4d/pkg-plist | 1 + 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'graphics/gnofract4d') diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile index b05780cde348..df340c259227 100644 --- a/graphics/gnofract4d/Makefile +++ b/graphics/gnofract4d/Makefile @@ -13,15 +13,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config USE_X_PREFIX= yes +USE_NEWGCC= yes +USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG} \ - CPPFLAGS="-I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS+=--datadir=${PREFIX}/share -USE_NEWGCC= yes + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g' .include diff --git a/graphics/gnofract4d/pkg-plist b/graphics/gnofract4d/pkg-plist index 41da483b5d9c..0bbfde6f65de 100644 --- a/graphics/gnofract4d/pkg-plist +++ b/graphics/gnofract4d/pkg-plist @@ -86,6 +86,7 @@ share/gnome/pixmaps/gnofract4d/gnofract4d-logo.png share/locale/fr/LC_MESSAGES/gnofract4d.mo @dirrm share/gnome/pixmaps/gnofract4d @dirrm share/gnome/maps/gnofract4d +@dirrm share/gnome/maps @dirrm share/gnome/help/gnofract4d/C/images @dirrm share/gnome/help/gnofract4d/C @dirrm share/gnome/help/gnofract4d -- cgit v1.2.3