1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Use USE_GNOMENG.

This commit is contained in:
Maxim Sobolev 2002-07-20 12:17:07 +00:00
parent 7e7225f4ba
commit 2bad28a773
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63271
10 changed files with 50 additions and 90 deletions

View File

@ -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>

View File

@ -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 \

View File

@ -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>

View File

@ -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 \

View File

@ -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>

View File

@ -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 \

View File

@ -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>

View File

@ -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 \

View File

@ -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>

View File

@ -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 \