From 023081671217e885ce96593d740a7f8f00fec9e6 Mon Sep 17 00:00:00 2001 From: sobomax Date: Fri, 12 Jul 2002 12:31:24 +0000 Subject: Use USE_GNOMENG. --- devel/bugbuddy/Makefile | 8 +++----- devel/bugbuddy/files/patch-po::Makefile.in.in | 18 ++++++++++-------- devel/bugbuddy/pkg-plist | 6 ------ 3 files changed, 13 insertions(+), 19 deletions(-) (limited to 'devel/bugbuddy') diff --git a/devel/bugbuddy/Makefile b/devel/bugbuddy/Makefile index 323fe55..812c923 100644 --- a/devel/bugbuddy/Makefile +++ b/devel/bugbuddy/Makefile @@ -17,16 +17,14 @@ MAINTAINER= gnome@FreeBSD.org USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomelibs USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -pre-patch: +post-patch: @${PERL} -pi -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 diff --git a/devel/bugbuddy/files/patch-po::Makefile.in.in b/devel/bugbuddy/files/patch-po::Makefile.in.in index 27f3358..38cc246 100644 --- a/devel/bugbuddy/files/patch-po::Makefile.in.in +++ b/devel/bugbuddy/files/patch-po::Makefile.in.in @@ -1,12 +1,14 @@ ---- po/Makefile.in.in.orig Fri Jun 15 10:20:15 2001 -+++ po/Makefile.in.in Tue Jun 19 05:56:13 2001 -@@ -25,3 +25,3 @@ - datadir = @datadir@ --localedir = $(datadir)/locale -+localedir = $(prefix)/share/locale - gettextsrcdir = $(datadir)/gettext/po -@@ -108,3 +108,3 @@ + +$FreeBSD$ + +--- po/Makefile.in.in 2002/07/12 12:18:04 1.1 ++++ po/Makefile.in.in 2002/07/12 12:18:13 +@@ -106,7 +106,7 @@ + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ cat=`basename $$cat`; \ - lang=`echo $$cat | sed 's/\.gmo$$//'`; \ + lang=`echo $$cat | sed 's/\.mo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkinstalldirs) $(DESTDIR)$$dir; \ + if test -r $$cat; then \ diff --git a/devel/bugbuddy/pkg-plist b/devel/bugbuddy/pkg-plist index 2e9a40b..6c38018 100644 --- a/devel/bugbuddy/pkg-plist +++ b/devel/bugbuddy/pkg-plist @@ -91,9 +91,3 @@ share/locale/zh_TW.Big5/LC_MESSAGES/bug-buddy.mo @dirrm share/gnome/help/bug-buddy/it @dirrm share/gnome/help/bug-buddy/C/stylesheet-images @dirrm share/gnome/help/bug-buddy/C/figures -@dirrm share/gnome/help/bug-buddy/C -@dirrm share/gnome/help/bug-buddy -@dirrm share/gnome/bug-buddy/bugzilla/ximian -@dirrm share/gnome/bug-buddy/bugzilla/gnome -@dirrm share/gnome/bug-buddy/bugzilla -@dirrm share/gnome/bug-buddy -- cgit v1.1