diff options
Diffstat (limited to 'x11/gnomedesktop/Makefile')
-rw-r--r-- | x11/gnomedesktop/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/x11/gnomedesktop/Makefile b/x11/gnomedesktop/Makefile index 65f216ea81c0..bc8a7e7ea304 100644 --- a/x11/gnomedesktop/Makefile +++ b/x11/gnomedesktop/Makefile @@ -6,10 +6,10 @@ # PORTNAME= gnomedesktop -PORTVERSION= 2.0.0 +PORTVERSION= 2.0.1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc1 +MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc2 DISTNAME= gnome-desktop-${PORTVERSION} DIST_SUBDIR= gnome2 @@ -20,6 +20,7 @@ LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui USE_BZIP2= yes USE_X_PREFIX= yes USE_XPM= yes +USE_REINPLACE= yes USE_GMAKE= yes USE_BISON= yes INSTALLS_SHLIB= yes @@ -33,10 +34,10 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} MAN1= gnome-about.1 pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${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|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \ - s|\$\(datadir\)/gnome/|\$\(datadir\)/|g' + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ + s|[(]datadir[)]/gnome/|(datadir)/|g' .include <bsd.port.mk> |