summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 15:11:42 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 15:11:42 +0000
commitbcbf81722c6ee8e04ddbb164394bf1905b2a3fa4 (patch)
tree0eda0d2b67e14f28ae88f3aa85bcf262cab8e421 /devel
parentAdd hooks for winbind (diff)
Update to 2.0.0.
Notes
Notes: svn path=/head/; revision=62814
Diffstat (limited to 'devel')
-rw-r--r--devel/libgtop2/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index ad3f83de3e69..0ff4cc44ae16 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20
USE_BZIP2= yes
USE_PERL5= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -27,10 +28,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
post-install:
install-info --section="Programming \& development tools" \