diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-20 19:04:20 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-20 19:04:20 +0000 |
commit | 471cc5bc1d55d3820d33e0d1cb8243065daea133 (patch) | |
tree | b9d565dd5f45d148d7bd8c012c47b6b32168bf5a /deskutils | |
parent | upgrade to 1.0.2 (diff) |
Replace ${PERL} with ${REINPLACE_CMD} in
PR: 39566
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to '')
-rw-r--r-- | deskutils/abacus/Makefile | 3 | ||||
-rw-r--r-- | deskutils/genius/Makefile | 9 | ||||
-rw-r--r-- | deskutils/krss/Makefile | 3 | ||||
-rw-r--r-- | deskutils/narval/Makefile | 3 | ||||
-rw-r--r-- | deskutils/xopps/Makefile | 3 |
5 files changed, 13 insertions, 8 deletions
diff --git a/deskutils/abacus/Makefile b/deskutils/abacus/Makefile index e96953859cc1..cc6782019b71 100644 --- a/deskutils/abacus/Makefile +++ b/deskutils/abacus/Makefile @@ -20,6 +20,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 \ tk82.1:${PORTSDIR}/x11-toolkits/tk82 +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GMAKE= yes MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" @@ -32,7 +33,7 @@ post-extract: @(cd ${WRKSRC}; ${RM} canvas; ${LN} -sf canvas-tcl8.2.2 canvas) post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/abacus + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/abacus do-install: ${INSTALL_SCRIPT} ${WRKSRC}/abacus ${PREFIX}/bin diff --git a/deskutils/genius/Makefile b/deskutils/genius/Makefile index 386ba89e104d..14ca8c55ea76 100644 --- a/deskutils/genius/Makefile +++ b/deskutils/genius/Makefile @@ -12,6 +12,7 @@ MASTER_SITES= http://ftp.5z.com/pub/genius/ MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= yes @@ -20,10 +21,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" 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' .include <bsd.port.mk> diff --git a/deskutils/krss/Makefile b/deskutils/krss/Makefile index 70e945e4aef3..082c9a07ada1 100644 --- a/deskutils/krss/Makefile +++ b/deskutils/krss/Makefile @@ -17,12 +17,13 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ png:${PORTSDIR}/graphics/png +USE_REINPLACE= yes USE_KDEBASE_VER= 2 GNU_CONFIGURE= yes USE_GMAKE= yes MAKE_ENV= ${CONFIGURE_ENV} post-patch: - @${PERL} -pi -e "s,-lqt,-lqt2,g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s,-lqt,-lqt2,g" ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/deskutils/narval/Makefile b/deskutils/narval/Makefile index 740d783616c9..4b66b3cb2f27 100644 --- a/deskutils/narval/Makefile +++ b/deskutils/narval/Makefile @@ -21,6 +21,7 @@ RUN_DEPENDS= ${PYXML} \ ${PYTHON_SITELIBDIR}/xmlrpclib.py:${PORTSDIR}/net/py-xmlrpclib \ ${PYTHON_SITELIBDIR}/logilab/xmltools/XmlTree.py:${PORTSDIR}/textproc/py-xmltools +USE_REINPLACE= yes USE_PYTHON= yes USE_PYDISTUTILS= yes DOCFILES= ANNOUNCE.en ANNOUNCE.fr CHANGELOG CONTRIBUTORS README.WIN32 README.UNIX faq.en.xml ../README ../license.txt @@ -36,7 +37,7 @@ XMLDIR= _xmlplus PLIST_SUB+= PORTVERSION=${PORTVERSION} post-patch: - @${PERL} -pi -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/conf/narval.conf + @${REINPLACE_CMD} -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/conf/narval.conf post-install: .if !defined(NOPORTDOCS) diff --git a/deskutils/xopps/Makefile b/deskutils/xopps/Makefile index 6e77ff03df1e..c6e54278abba 100644 --- a/deskutils/xopps/Makefile +++ b/deskutils/xopps/Makefile @@ -15,6 +15,7 @@ DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= ports@FreeBSD.org ALL_TARGET= +USE_REINPLACE= yes USE_X_PREFIX= yes USE_MOTIF= yes MAKE_ENV= 'MACH=${OPSYS}' @@ -25,6 +26,6 @@ post-extract: @${CP} ${WRKSRC}/Defines.spr ${WRKSRC}/Defines.${OPSYS} post-patch: - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/*.c + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/*.c .include <bsd.port.mk> |