diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-18 17:58:57 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-18 17:58:57 +0000 |
commit | 47d2777b16fe58d7241c0b04f9e9fe33ccfe287c (patch) | |
tree | 2ba4663f7a77b3d3d8d06f53731959f9319d7e08 /x11/gnomeapplets2 | |
parent | Use USE_GNOMENG. (diff) |
Use USE_REINPLACE.
Notes
Notes:
svn path=/head/; revision=63210
Diffstat (limited to 'x11/gnomeapplets2')
-rw-r--r-- | x11/gnomeapplets2/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/x11/gnomeapplets2/Makefile b/x11/gnomeapplets2/Makefile index b7cf32a653d5..bf19e645698b 100644 --- a/x11/gnomeapplets2/Makefile +++ b/x11/gnomeapplets2/Makefile @@ -22,6 +22,7 @@ LIB_DEPENDS= panel-applet-2.0:${PORTSDIR}/x11/gnomepanel \ USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ --datadir=${PREFIX}/share/gnome @@ -38,13 +39,13 @@ PLIST_SUB= BATTERY="" .endif 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\)/locale|\$\(prefix\)/share/locale|g ; \ - s|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \ + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/locale|(prefix)/share/locale|g ; \ + s|[(]datadir[)]/gnome/|(datadir)/|g ; \ + s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|\$\(prefix\)/lib/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \ - s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g' + s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' .include <bsd.port.post.mk> |