aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 09:56:21 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 09:56:21 +0800
commit31e736c00404a9a4083bb7b2da33f970bfd05548 (patch)
tree0a02623cebf1922f197b4ac093828a6794b4670e /biology
parent5914dd37c79a5ce711d244765e87a84e7c4b889f (diff)
downloadfreebsd-ports-gnome-31e736c00404a9a4083bb7b2da33f970bfd05548.tar.gz
freebsd-ports-gnome-31e736c00404a9a4083bb7b2da33f970bfd05548.tar.zst
freebsd-ports-gnome-31e736c00404a9a4083bb7b2da33f970bfd05548.zip
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'biology')
-rw-r--r--biology/gff2ps/Makefile3
-rw-r--r--biology/nab/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/biology/gff2ps/Makefile b/biology/gff2ps/Makefile
index 934b600582cb..d87036ccc09a 100644
--- a/biology/gff2ps/Makefile
+++ b/biology/gff2ps/Makefile
@@ -19,11 +19,12 @@ RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk \
GFF2PS_MAN= MANUAL_GFF2PS_v0.96.ps
PATCH_WRKSRC= ${WRKDIR}
+USE_REINPLACE= yes
NO_BUILD= yes
post-patch:
- @${PERL} -pi -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,; \
+ @${REINPLACE_CMD} -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,; \
s,/usr/local/bin/gawk,${LOCALBASE}/bin/gawk,' ${WRKDIR}/gff2ps
do-extract:
diff --git a/biology/nab/Makefile b/biology/nab/Makefile
index 1496ea23f8d9..e57708d2bfac 100644
--- a/biology/nab/Makefile
+++ b/biology/nab/Makefile
@@ -18,6 +18,7 @@ MAKE_ENV+= NABHOME=${WRKSRC} ARCH= PATH=${WRKSRC}/bin:${PATH}
USE_BISON= yes
MAN1= nab.1
MANCOMPRESSED= yes
+USE_REINPLACE= yes
BINARIES= matextract matmul teLeap tss_main \
matgen nab transform tss_next \
@@ -31,7 +32,7 @@ post-extract:
@${CP} ${FILESDIR}/config.h ${WRKSRC}
pre-patch:
- @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/cifparse/cifparse.c
post-patch: