aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /biology
parent3ff37e385bb15e608586b24278ba3dde9ea57151 (diff)
downloadports-37f2224fa6a14520df830ae1daeba9b877daa347.tar.gz
ports-37f2224fa6a14520df830ae1daeba9b877daa347.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/deft/Makefile3
-rw-r--r--biology/dna-qc/Makefile9
-rw-r--r--biology/flip/Makefile4
-rw-r--r--biology/wise/Makefile9
4 files changed, 15 insertions, 10 deletions
diff --git a/biology/deft/Makefile b/biology/deft/Makefile
index cda1ba957472..c8442a259b01 100644
--- a/biology/deft/Makefile
+++ b/biology/deft/Makefile
@@ -16,6 +16,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
WRKSRC= ${WRKDIR}/${DISTNAME}/source
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
@@ -31,7 +32,7 @@ LFLAGS+= -L/usr/local/mpich/lib -lmpich
.endif
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g"\
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g"\
${WRKDIR}/${DISTNAME}/examples/DeFT
.if !defined(USEMPICH)
@echo "******************************"
diff --git a/biology/dna-qc/Makefile b/biology/dna-qc/Makefile
index 700cc1ca2122..0b2aea9b7e4a 100644
--- a/biology/dna-qc/Makefile
+++ b/biology/dna-qc/Makefile
@@ -15,16 +15,17 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= tonym@biolateral.com.au
NO_WRKSUBDIR= true
+USE_REINPLACE= yes
EXAMPLES= README script.compare script.limits \
bact.all chromosomeIII.all human.all worm.all
PROGRAMS= counter hybridize normalize random_clip random_line
post-patch:
- @${PERL} -pi -e 's,^CFLAGS,#CFLAGS,' ${WRKSRC}/Makefile
- @${PERL} -pi -e 's,malloc.h,stdlib.h,' ${WRKSRC}/normalize.c
- @${PERL} -pi -e 's,fname\*,fname,' ${WRKSRC}/random_line.c
- @${PERL} -pi -e 's,static void allocate_pool,void allocate_pool,' \
+ @${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/normalize.c
+ @${REINPLACE_CMD} -e 's,fname\*,fname,' ${WRKSRC}/random_line.c
+ @${REINPLACE_CMD} -e 's,static void allocate_pool,void allocate_pool,' \
${WRKSRC}/stringpool.c
do-install:
diff --git a/biology/flip/Makefile b/biology/flip/Makefile
index dc48360a0059..c4ce9c456b3b 100644
--- a/biology/flip/Makefile
+++ b/biology/flip/Makefile
@@ -12,12 +12,14 @@ MASTER_SITES= ftp://megasun.bch.umontreal.ca/pub/flip/
MAINTAINER= tonym@biolateral.com.au
+USE_REINPLACE= yes
+
MAN1= flip.1
# make it respect CFLAGS
post-configure:
- @${PERL} -pi.orig -e 's/CFLAGS=//' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's/CFLAGS=//' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin
diff --git a/biology/wise/Makefile b/biology/wise/Makefile
index 2c99524ff8c9..c7d9fad149f4 100644
--- a/biology/wise/Makefile
+++ b/biology/wise/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= tonym@biolateral.com.au
WRKTOP= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKTOP}/src
+USE_REINPLACE= yes
MAKEFILE= makefile
#
@@ -49,17 +50,17 @@ EXFILES= README db.hmm hn_est.fa human.genomic \
#
post-configure:
- @${PERL} -pi.orig \
+ @${REINPLACE_CMD} \
-e s'#^CFLAGS = -c -O#CFLAGS ?= -c -O#;' \
-e s'#\tcsh welcome.csh##;' \
${WRKSRC}/${MAKEFILE}
- @${PERL} -pi.orig \
+ @${REINPLACE_CMD} \
-e s'#CFLAGS\) $?#CFLAGS\) -c $?#;' \
${WRKSRC}/base/${MAKEFILE}
- @${PERL} -pi.orig \
+ @${REINPLACE_CMD} \
-e s'#INCFLAGS\) $?#INCFLAGS\) -c $?#;' \
${WRKSRC}/dynlibsrc/${MAKEFILE}
- @${PERL} -pi.orig \
+ @${REINPLACE_CMD} \
-e s'#INCFLAGS\) $?#INCFLAGS\) -c $?#;' \
-e s'#CFLAGS\) estwise.c#CFLAGS\) -c estwise.c#;' \
-e s'#CFLAGS\) estwiseb.c#CFLAGS\) -c estwiseb.c#;' \