aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/bug-buddy/Makefile8
-rw-r--r--devel/bug-buddy/files/patch-po::Makefile.in.in18
-rw-r--r--devel/bug-buddy/pkg-plist6
-rw-r--r--devel/bugbuddy/Makefile8
-rw-r--r--devel/bugbuddy/files/patch-po::Makefile.in.in18
-rw-r--r--devel/bugbuddy/pkg-plist6
6 files changed, 26 insertions, 38 deletions
diff --git a/devel/bug-buddy/Makefile b/devel/bug-buddy/Makefile
index 323fe558b701..812c923ec395 100644
--- a/devel/bug-buddy/Makefile
+++ b/devel/bug-buddy/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 <bsd.port.mk>
diff --git a/devel/bug-buddy/files/patch-po::Makefile.in.in b/devel/bug-buddy/files/patch-po::Makefile.in.in
index 27f3358e04a0..38cc2466de13 100644
--- a/devel/bug-buddy/files/patch-po::Makefile.in.in
+++ b/devel/bug-buddy/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/bug-buddy/pkg-plist b/devel/bug-buddy/pkg-plist
index 2e9a40bec201..6c380186738e 100644
--- a/devel/bug-buddy/pkg-plist
+++ b/devel/bug-buddy/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
diff --git a/devel/bugbuddy/Makefile b/devel/bugbuddy/Makefile
index 323fe558b701..812c923ec395 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 <bsd.port.mk>
diff --git a/devel/bugbuddy/files/patch-po::Makefile.in.in b/devel/bugbuddy/files/patch-po::Makefile.in.in
index 27f3358e04a0..38cc2466de13 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 2e9a40bec201..6c380186738e 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