diff options
Diffstat (limited to 'graphics/eog2/Makefile')
-rw-r--r-- | graphics/eog2/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/graphics/eog2/Makefile b/graphics/eog2/Makefile index c5c5bce..d5c25d3 100644 --- a/graphics/eog2/Makefile +++ b/graphics/eog2/Makefile @@ -6,10 +6,10 @@ # PORTNAME= eog2 -PORTVERSION= 1.0.0 +PORTVERSION= 1.0.1 CATEGORIES= graphics 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= eog-${PORTVERSION} DIST_SUBDIR= gnome2 @@ -21,6 +21,7 @@ LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \ USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_X_PREFIX= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ @@ -30,11 +31,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} 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|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/gnome/|(datadir)/|g ; \ + s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g ; \ + s|[(]datadir[)]/locale|(prefix)/share/locale|g' .include <bsd.port.mk> |