diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-11 15:31:46 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-11 15:31:46 +0000 |
commit | 56dc32204bad654a33f748f15525ae2478dda76c (patch) | |
tree | 3937ab3f9e452769dfc3da529bc9b040b4183bc3 /print | |
parent | 169df2917434face98111a403e13db5d03f78444 (diff) | |
download | FreeBSD-ports-56dc32204bad654a33f748f15525ae2478dda76c.zip FreeBSD-ports-56dc32204bad654a33f748f15525ae2478dda76c.tar.gz |
Use USE_REINPLACE.
Diffstat (limited to 'print')
-rw-r--r-- | print/libgnomeprint/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile index 11c1a99..903e98e 100644 --- a/print/libgnomeprint/Makefile +++ b/print/libgnomeprint/Makefile @@ -21,6 +21,7 @@ LIB_DEPENDS= bonobo-2.0:${PORTSDIR}/devel/libbonobo \ USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ @@ -32,13 +33,13 @@ 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 '*.[ch]' | xargs ${PERL} -pi -e \ - 's|<malloc\.h>|<stdlib.h>|' - @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ - 's|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \ - s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g' + @find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \ + 's|<malloc[.]h>|<stdlib.h>|' + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/locale|(prefix)/share/locale|g ; \ + s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' post-install: @${MKDIR} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts |