aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:06:27 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:06:27 +0000
commit161b751262bc5e1c5239a167762733cdcdd1d29d (patch)
treec8a813985306d0a0d3b0535c8d9d96829a495944 /math
parent6117005f174cf91429416650985190076c2892de (diff)
downloadports-161b751262bc5e1c5239a167762733cdcdd1d29d.tar.gz
ports-161b751262bc5e1c5239a167762733cdcdd1d29d.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/GiNaC/Makefile5
-rw-r--r--math/clarence/Makefile3
-rw-r--r--math/freefem/Makefile5
-rw-r--r--math/newmat/Makefile3
-rw-r--r--math/oleo/Makefile3
-rw-r--r--math/physcalc/Makefile3
-rw-r--r--math/plplot/Makefile3
-rw-r--r--math/rascal/Makefile3
-rw-r--r--math/spar/Makefile3
-rw-r--r--math/vtk/Makefile5
-rw-r--r--math/vtk43/Makefile5
-rw-r--r--math/vtk5/Makefile5
12 files changed, 29 insertions, 17 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile
index 3b549c951b9b..1cbb2f0a770d 100644
--- a/math/GiNaC/Makefile
+++ b/math/GiNaC/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= cln.2:${PORTSDIR}/math/cln
+USE_REINPLACE= yes
USE_BZIP2= yes
USE_NEWGCC= yes
USE_GMAKE= yes
@@ -34,10 +35,10 @@ post-extract:
post-patch:
.for file in configure ginac/numeric.cpp ginac/tostring.h
- @${PERL} -pi -e 's|sstream|strstream|g ; \
+ @${REINPLACE_CMD} -e 's|sstream|strstream|g ; \
s|stringstream|strstream|g' ${WRKSRC}/${file}
.endfor
- @${PERL} -pi -e 's|-release \$$\(LT_RELEASE\)||g' \
+ @${REINPLACE_CMD} -e 's|-release \$$(LT_RELEASE)||g' \
${WRKSRC}/ginac/Makefile.in
.include <bsd.port.mk>
diff --git a/math/clarence/Makefile b/math/clarence/Makefile
index e997fb256fa8..8b27f059f7bf 100644
--- a/math/clarence/Makefile
+++ b/math/clarence/Makefile
@@ -15,13 +15,14 @@ MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/GDK.py:${PORTSDIR}/x11-toolkits/py-gtk
+USE_REINPLACE= yes
USE_PYTHON= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= clarence.1
post-patch:
- @${PERL} -pi -e "s,#!/usr/bin/python,#!/usr/bin/env python,g" ${WRKSRC}/clarence.py
+ @${REINPLACE_CMD} -e "s,#!/usr/bin/python,#!/usr/bin/env python,g" ${WRKSRC}/clarence.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/clarence.py ${PREFIX}/bin/clarence
diff --git a/math/freefem/Makefile b/math/freefem/Makefile
index 8cb4e13fdcbf..4668e9f510fe 100644
--- a/math/freefem/Makefile
+++ b/math/freefem/Makefile
@@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= kfem
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@@ -22,8 +23,8 @@ INSTALLS_SHLIB= yes
MAN1= freefem.1
post-patch:
- @${PERL} -pi -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
- @${PERL} -pi -e 's|debian doc freefem|debian freefem|g ; \
+ @${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|debian doc freefem|debian freefem|g ; \
s|^install-data-am:|install-data-am: #|g' ${WRKSRC}/Makefile.in
post-install:
diff --git a/math/newmat/Makefile b/math/newmat/Makefile
index 672fbdb91761..bc4c72ef6d7e 100644
--- a/math/newmat/Makefile
+++ b/math/newmat/Makefile
@@ -15,12 +15,13 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
NO_WRKSUBDIR= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
MAKEFILE= nm_gnu.mak
ALL_TARGET= everything
post-patch:
- @${PERL} -pi -e "s,^CXX,#CXX,g ; \
+ @${REINPLACE_CMD} -e "s,^CXX,#CXX,g ; \
s,^CXXFLAGS,#CXXFLAGS,g" ${WRKSRC}/${MAKEFILE}
do-install:
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index 03483610e745..bada5da24e8c 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
+USE_REINPLACE= yes
USE_AUTOCONF_VER=213
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
@@ -42,6 +43,6 @@ pre-everything::
post-patch:
@find ${WRKSRC} -name '*.[ch]' | xargs \
- ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
+ ${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
.include <bsd.port.mk>
diff --git a/math/physcalc/Makefile b/math/physcalc/Makefile
index 7c2f05576cc6..e4b75f5d9432 100644
--- a/math/physcalc/Makefile
+++ b/math/physcalc/Makefile
@@ -17,6 +17,7 @@ EXTRACT_BEFORE_ARGS= -aq
EXTRACT_AFTER_ARGS= -x physcalc -d ${WRKDIR}
NO_WRKSUBDIR= yes
+USE_REINPLACE= yes
USE_ZIP= yes
DEFS= -DSHAREDIR="\"${PREFIX}/share/physcalc/\""
@@ -24,7 +25,7 @@ SRCS= physconv.c physmain.c physmlib.c physnode.c physoper.c \
physsolv.c
pre-build:
- ${PERL} -pi -e "s@void main@int main@g" ${WRKSRC}/physmain.c
+ ${REINPLACE_CMD} -e "s@void main@int main@g" ${WRKSRC}/physmain.c
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEFS} ${SRCS} -lm -o physcalc)
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index 299ee13fe870..77d309d7d18b 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
+USE_REINPLACE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= F77="${FC}" FFLAGS="${FFLAGS}" \
@@ -54,7 +55,7 @@ PLIST_SUB+= TCLTK="@comment "
post-patch:
.for file in scripts/mktclIndex
- @${PERL} -pi -e 's|tclsh|${LOCALBASE}/bin/tclsh8.3|g' ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e 's|tclsh|${LOCALBASE}/bin/tclsh8.3|g' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>
diff --git a/math/rascal/Makefile b/math/rascal/Makefile
index 21b76e893c38..2687c538ff0f 100644
--- a/math/rascal/Makefile
+++ b/math/rascal/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
USE_BISON= yes
USE_GNOME= yes
WRKSRC= ${WRKDIR}/Rascal-${PORTVERSION}
@@ -26,7 +27,7 @@ MANCOMPRESSED= yes
MAN1= rascal.1
post-patch:
- @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
+ @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
s,g\+\+,${CXX},g ; \
s,doc/,share/doc/,g ; \
s,gnome-config,${GNOME_CONFIG},g ; \
diff --git a/math/spar/Makefile b/math/spar/Makefile
index 4df9d44d36c3..e0e18ffdbde0 100644
--- a/math/spar/Makefile
+++ b/math/spar/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
INSTALLS_SHLIB= yes
@@ -23,6 +24,6 @@ INSTALLS_SHLIB= yes
MAN1= spar.1
post-patch:
- @${PERL} -pi -e "s,-ldl,,g" ${WRKSRC}/lib/Makefile.in
+ @${REINPLACE_CMD} -e "s,-ldl,,g" ${WRKSRC}/lib/Makefile.in
.include <bsd.port.mk>
diff --git a/math/vtk/Makefile b/math/vtk/Makefile
index ee4c6cadef2f..20ed8ef33844 100644
--- a/math/vtk/Makefile
+++ b/math/vtk/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
+USE_REINPLACE= yes
USE_MESA= yes
WRKSRC= ${WRKDIR}/vtk${PORTVERSION}
INSTALLS_SHLIB= yes
@@ -35,11 +36,11 @@ PLIST= ${PKGDIR}/pkg-plist.with_patented
.endif
post-patch:
- ${PERL} -pi -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
+ @${REINPLACE_CMD} -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
- @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|'
post-install:
diff --git a/math/vtk43/Makefile b/math/vtk43/Makefile
index ee4c6cadef2f..20ed8ef33844 100644
--- a/math/vtk43/Makefile
+++ b/math/vtk43/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
+USE_REINPLACE= yes
USE_MESA= yes
WRKSRC= ${WRKDIR}/vtk${PORTVERSION}
INSTALLS_SHLIB= yes
@@ -35,11 +36,11 @@ PLIST= ${PKGDIR}/pkg-plist.with_patented
.endif
post-patch:
- ${PERL} -pi -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
+ @${REINPLACE_CMD} -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
- @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|'
post-install:
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index ee4c6cadef2f..20ed8ef33844 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
+USE_REINPLACE= yes
USE_MESA= yes
WRKSRC= ${WRKDIR}/vtk${PORTVERSION}
INSTALLS_SHLIB= yes
@@ -35,11 +36,11 @@ PLIST= ${PKGDIR}/pkg-plist.with_patented
.endif
post-patch:
- ${PERL} -pi -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
+ @${REINPLACE_CMD} -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
- @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|'
post-install: