From e2839c979ae96540f85f9a61aaae3954452268c3 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Wed, 10 Jul 2002 08:52:11 +0000 Subject: Use USE_GNOMENG. --- textproc/gnome-spell/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'textproc/gnome-spell/Makefile') diff --git a/textproc/gnome-spell/Makefile b/textproc/gnome-spell/Makefile index 1b06467397a7..9d3bb125ae8f 100644 --- a/textproc/gnome-spell/Makefile +++ b/textproc/gnome-spell/Makefile @@ -20,17 +20,15 @@ LIB_DEPENDS= aspell.11:${PORTSDIR}/textproc/aspell USE_X_PREFIX= yes USE_PERL5= yes USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack libglade gal USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -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 -- cgit v1.2.3