diff --git a/graphics/sodipodi/Makefile b/graphics/sodipodi/Makefile index 04270b02a3e0..45ceec4617aa 100644 --- a/graphics/sodipodi/Makefile +++ b/graphics/sodipodi/Makefile @@ -1,33 +1,31 @@ # New ports collection makefile for: sodipodi # Date created: 28 January 2000 # Whom: Yukihiro Nakai # # $FreeBSD$ # PORTNAME= sodipodi PORTVERSION= 0.24.1 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} 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`" \ LIBS="-L${LOCALBASE}/lib" 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 diff --git a/print/ggv/Makefile b/print/ggv/Makefile index f21f6b258e2c..f1fc6f9b6a23 100644 --- a/print/ggv/Makefile +++ b/print/ggv/Makefile @@ -1,35 +1,33 @@ # New ports collection makefile for: ggv # Date created: 21 August 1998 # Whom: Yukihiro Nakai # # $FreeBSD$ # PORTNAME= ggv PORTVERSION= 1.0.2 PORTREVISION= 1 CATEGORIES= print gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/ggv 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 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