aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-12 18:07:16 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-12 18:07:16 +0800
commitdeae1790ae72b0a67609407fe82f9df755b0834a (patch)
tree6db8526c42fa0f9f21a5beb211d9c8b4a227a352 /print
parent8b08d3c447d08afdada2154f3d40b60e2560c7e4 (diff)
downloadfreebsd-ports-graphics-deae1790ae72b0a67609407fe82f9df755b0834a.tar.gz
freebsd-ports-graphics-deae1790ae72b0a67609407fe82f9df755b0834a.tar.zst
freebsd-ports-graphics-deae1790ae72b0a67609407fe82f9df755b0834a.zip
Use USE_GNOMENG.
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 f21f6b258e2..f1fc6f9b6a2 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 6a062e098c7..00000000000
--- 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