aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bug-buddy
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-12 20:31:24 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-12 20:31:24 +0800
commit023081671217e885ce96593d740a7f8f00fec9e6 (patch)
tree93be60b8e506cd4f0955151848823897f1c2c1f0 /devel/bug-buddy
parent1f238d6b748a394241be7f4e675c9a047d4e486d (diff)
downloadfreebsd-ports-gnome-023081671217e885ce96593d740a7f8f00fec9e6.tar.gz
freebsd-ports-gnome-023081671217e885ce96593d740a7f8f00fec9e6.tar.zst
freebsd-ports-gnome-023081671217e885ce96593d740a7f8f00fec9e6.zip
Use USE_GNOMENG.
Diffstat (limited to 'devel/bug-buddy')
-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
3 files changed, 13 insertions, 19 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