diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index 7fd6dc4c7638..c4589216e076 100644 --- a/graphics/xsane/Makefile +++ b/graphics/xsane/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xsane -PORTVERSION= 0.90 +PORTVERSION= 0.91 CATEGORIES= graphics MASTER_SITES= http://www.xsane.org/download/ \ http://gd.tuwien.ac.at/hci/sane/xsane/ \ @@ -24,6 +24,7 @@ USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOME= gtk12 GNU_CONFIGURE= yes +USE_REINPLACE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib -lintl" @@ -45,8 +46,8 @@ pre-everything:: .endif pre-patch: - @find ${WRKSRC} -name 'Makefile.in' | xargs ${PERL} -pi -e \ - 's|\$$\(sbindir\)||g' + @${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} \ + -i "" -e 's|\$$(sbindir)||g' post-install: @${SED} 's:/usr/X11R6:${PREFIX}:' ${PKGMESSAGE} diff --git a/graphics/xsane/distinfo b/graphics/xsane/distinfo index 6ba1cd2914e1..6c22fa6be733 100644 --- a/graphics/xsane/distinfo +++ b/graphics/xsane/distinfo @@ -1 +1 @@ -MD5 (xsane-0.90.tar.gz) = ecf7073f673126cecbe999939638d0a2 +MD5 (xsane-0.91.tar.gz) = b212c9aeb0b6c4b0ada625d512337337 diff --git a/graphics/xsane/pkg-plist b/graphics/xsane/pkg-plist index c6f526edbf71..60e7fe0c8cdb 100644 --- a/graphics/xsane/pkg-plist +++ b/graphics/xsane/pkg-plist @@ -141,4 +141,3 @@ share/sane/xsane/xsane-startimage.pnm share/sane/xsane/xsane-style.rc @dirrm share/sane/xsane/doc @dirrm share/sane/xsane -@dirrm share/sane