aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cdoc
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-06-19 19:24:21 +0800
committerdaichi <daichi@FreeBSD.org>2003-06-19 19:24:21 +0800
commit4d2930780f744dbd3a6f284d1d357a8724430017 (patch)
tree07e4f82edaf5aba1f436a7c55480ceb6a69f3270 /devel/cdoc
parent1765f5309e31c48fb9a8d936dcfc74c1b5270f89 (diff)
downloadfreebsd-ports-gnome-4d2930780f744dbd3a6f284d1d357a8724430017.tar.gz
freebsd-ports-gnome-4d2930780f744dbd3a6f284d1d357a8724430017.tar.zst
freebsd-ports-gnome-4d2930780f744dbd3a6f284d1d357a8724430017.zip
devel/cdoc: remove build-time Perl dependency
PR: 53446 Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer)
Diffstat (limited to 'devel/cdoc')
-rw-r--r--devel/cdoc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/cdoc/Makefile b/devel/cdoc/Makefile
index 4881cccad89c..7d5db00ed9a2 100644
--- a/devel/cdoc/Makefile
+++ b/devel/cdoc/Makefile
@@ -16,6 +16,7 @@ COMMENT= Extracts documentation from C source code comments
BUILD_DEPENDS+= make+:${PORTSDIR}/devel/makeplus
USE_PERL5_RUN= yes
+USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
@@ -23,7 +24,7 @@ DOCS= README
do-build:
cd ${WRKSRC}; make+
- ${PERL} -pi.orig -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/cdoc
+ ${REINPLACE_CMD} -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/cdoc
do-install:
cd ${WRKSRC}; make+ install