summaryrefslogtreecommitdiffstats
path: root/devel/p4db/Makefile
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-27 16:06:25 +0000
committeraz <az@FreeBSD.org>2013-07-27 16:06:25 +0000
commit0a9e5efb9de6b8811964b263c03b83ec89719f71 (patch)
treeaf6266e338105f6caa968f90afd0c4e98288d6f5 /devel/p4db/Makefile
parent161ee4e405ddee7d6c945754c827684829ef8e90 (diff)
downloadFreeBSD-ports-0a9e5efb9de6b8811964b263c03b83ec89719f71.zip
FreeBSD-ports-0a9e5efb9de6b8811964b263c03b83ec89719f71.tar.gz
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Diffstat (limited to 'devel/p4db/Makefile')
-rw-r--r--devel/p4db/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/p4db/Makefile b/devel/p4db/Makefile
index c9c3bf6..0625606 100644
--- a/devel/p4db/Makefile
+++ b/devel/p4db/Makefile
@@ -45,12 +45,11 @@ post-extract:
done
post-patch:
- ${PERL} -pi \
- -e 's,!!PREFIX!!,${PREFIX},g;' \
- -e 's,!!PERFORCE_USER!!,p4admin,g;' \
- -e 's,!!PERFORCE_GROUP!!,p4admin,g;' \
- -e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},g;' \
- -e 's,!!FQDN!!,${FQDN},g;' \
+ @${REINPLACE_CMD} -i '' -e 's,!!PREFIX!!,${PREFIX},' \
+ -e 's,!!PERFORCE_USER!!,p4admin,' \
+ -e 's,!!PERFORCE_GROUP!!,p4admin,' \
+ -e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},' \
+ -e 's,!!FQDN!!,${FQDN},' \
${WRKSRC}/${PORTNAME}/P4DB.conf.sample
${FIND} ${WRKSRC}/${PORTNAME} -name '*.orig' -delete
OpenPOWER on IntegriCloud