1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Use USE_GNOMENG.

This commit is contained in:
Maxim Sobolev 2002-07-12 10:07:16 +00:00
parent fda3a2e945
commit 8ff3e8424f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62852
3 changed files with 7 additions and 22 deletions

View File

@ -15,7 +15,8 @@ MAINTAINER= gnome@FreeBSD.org
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack gal bonobo gnomeprint libglade
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
`gdk-pixbuf-config --cflags`" \
@ -23,11 +24,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
MAN1= sodipodi.1
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

@ -17,19 +17,17 @@ MAINTAINER= gnome@FreeBSD.org
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
USE_X_PREFIX= yes
USE_GNOME= yes
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack bonobo
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-bonobo
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
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>

View File

@ -1,11 +0,0 @@
--- po/Makefile.in.in.orig Tue Feb 17 00:59:01 1998
+++ po/Makefile.in.in Tue May 16 12:57:23 2000
@@ -19,7 +19,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = $(prefix)/@DATADIRNAME@
-localedir = $(datadir)/locale
+localedir = $(prefix)/share/locale
gnulocaledir = $(prefix)/share/locale
gettextsrcdir = $(prefix)/share/gettext/po
subdir = po