summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-12 10:07:16 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-12 10:07:16 +0000
commit8ff3e8424f896764b139dd5a9bc92723c26194de (patch)
tree266ea7fe25f412c1786e6934c7b42dac81505742 /print
parentApart from libpanel this port also requires bonobo and gnomevfs. (diff)
Use USE_GNOMENG.
Notes
Notes: svn path=/head/; revision=62852
Diffstat (limited to 'print')
-rw-r--r--print/ggv/Makefile8
-rw-r--r--print/ggv/files/patch-ae11
2 files changed, 3 insertions, 16 deletions
diff --git a/print/ggv/Makefile b/print/ggv/Makefile
index f21f6b258e2c..f1fc6f9b6a23 100644
--- a/print/ggv/Makefile
+++ b/print/ggv/Makefile
@@ -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>
diff --git a/print/ggv/files/patch-ae b/print/ggv/files/patch-ae
deleted file mode 100644
index 6a062e098c79..000000000000
--- a/print/ggv/files/patch-ae
+++ /dev/null
@@ -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