diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-20 12:17:07 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-20 12:17:07 +0000 |
commit | 82fcf5aaad00f3057ca668f9776ac843463daff1 (patch) | |
tree | ffd7e6fe90c0017f5bb59fd9b64206ea7129e87c /net-im/gnomeicu | |
parent | ffb363ca76662ff66f06f2d44b728340c258b584 (diff) | |
download | FreeBSD-ports-82fcf5aaad00f3057ca668f9776ac843463daff1.zip FreeBSD-ports-82fcf5aaad00f3057ca668f9776ac843463daff1.tar.gz |
Use USE_GNOMENG.
Diffstat (limited to 'net-im/gnomeicu')
-rw-r--r-- | net-im/gnomeicu/Makefile | 10 | ||||
-rw-r--r-- | net-im/gnomeicu/files/patch-po::Makefile.in.in | 18 |
2 files changed, 10 insertions, 18 deletions
diff --git a/net-im/gnomeicu/Makefile b/net-im/gnomeicu/Makefile index d644bb7..74984ab 100644 --- a/net-im/gnomeicu/Makefile +++ b/net-im/gnomeicu/Makefile @@ -18,7 +18,8 @@ BUILD_DEPENDS+= gnet-config:${PORTSDIR}/net/gnet USE_BZIP2= yes USE_X_PREFIX= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack libglade libpanel gdkpixbuf GNU_CONFIGURE= yes USE_GMAKE= yes .if defined(WITH_DANTE) @@ -44,11 +45,8 @@ CONFIGURE_ENV= CPPFLAGS="${SOCKSFLAGS} -I${LOCALBASE}/include" \ CFLAGS="${CFLAGS}" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} -pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ +post-patch: + @${REINPLACE_CMD} -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/net-im/gnomeicu/files/patch-po::Makefile.in.in b/net-im/gnomeicu/files/patch-po::Makefile.in.in index eb27fe3..62a7c83 100644 --- a/net-im/gnomeicu/files/patch-po::Makefile.in.in +++ b/net-im/gnomeicu/files/patch-po::Makefile.in.in @@ -1,20 +1,14 @@ ---- po/Makefile.in.in.orig Sun Dec 23 17:47:08 2001 -+++ po/Makefile.in.in Fri Dec 28 15:46:57 2001 -@@ -23,7 +23,7 @@ - prefix = @prefix@ - exec_prefix = @exec_prefix@ - datadir = @datadir@ --localedir = $(datadir)/locale -+localedir = $(prefix)/share/locale - gettextsrcdir = $(datadir)/gettext/po - - INSTALL = @INSTALL@ + +$FreeBSD$ + +--- po/Makefile.in.in 2002/07/20 11:41:22 1.1 ++++ po/Makefile.in.in 2002/07/20 11:41:34 @@ -106,7 +106,7 @@ @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ - lang=`echo $$cat | sed 's/\.gmo$$//'`; \ -+ lang=`echo $$cat | sed -E 's/\.g?mo$$//'`; \ ++ lang=`echo $$cat | sed 's/\.mo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkinstalldirs) $(DESTDIR)$$dir; \ if test -r $$cat; then \ |