diff options
Diffstat (limited to 'textproc/urlview')
-rw-r--r-- | textproc/urlview/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/textproc/urlview/Makefile b/textproc/urlview/Makefile index 8a5df03da7a4..c448ffdfea26 100644 --- a/textproc/urlview/Makefile +++ b/textproc/urlview/Makefile @@ -20,13 +20,14 @@ MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \ MAINTAINER= obrien@FreeBSD.org COMMENT= URL extractor/launcher -USE_PERL5_BUILD= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes MAN1= urlview.1 post-patch: - ${PERL} -pi.prefix -e 's.!!PREFIX!!.${PREFIX}.g' \ - ${WRKSRC}/url_handler.sh + @${REINPLACE_CMD} -e "s,!!PREFIX!!,${PREFIX},g" ${WRKSRC}/url_handler.sh + @${REINPLACE_CMD} -e \ + "s,/etc/urlview.conf,${PREFIX}/etc/urlview.conf,g" ${WRKSRC}/* post-install: ${INSTALL_SCRIPT} ${WRKSRC}/url_handler.sh ${PREFIX}/bin |