diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-26 02:36:39 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-26 02:36:39 +0800 |
commit | 2e24cb013a4dff5e119d355c91b2622a00311b14 (patch) | |
tree | 7a79ec7a9cea96d93a4faead0a8d2d8c0f3fff6d /devel/titano | |
parent | cde2f267c86553ca05e0aa4469ac034e4060371d (diff) | |
download | freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.gz freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.zst freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.zip |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39842
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'devel/titano')
-rw-r--r-- | devel/titano/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/titano/Makefile b/devel/titano/Makefile index 080d7e04d4de..85dbe96d78c6 100644 --- a/devel/titano/Makefile +++ b/devel/titano/Makefile @@ -18,17 +18,18 @@ LIB_DEPENDS= gtkeditor.0:${PORTSDIR}/x11-toolkits/libgtkeditor WRKSRC= ${WRKDIR}/${DISTNAME:S/b//} +USE_REINPLACE= yes USE_GNOMELIBS= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_LIBTOOL= yes 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|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \ + s|\$$(datadir)/locale|\$$(prefix)/share/locale|g' post-install: ${MKDIR} ${PREFIX}/share/gnome/pixmaps/titano |