devel/cdoc: remove build-time Perl dependency

PR:		53446
Submitted by:	Sergei Kolobov <sergei@kolobov.com> (maintainer)
This commit is contained in:
Daichi GOTO 2003-06-19 11:24:21 +00:00
parent efea2eb0ef
commit 02ede4ec69
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83305

View file

@ -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