diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2003-10-15 16:59:12 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-10-15 16:59:12 +0000 |
commit | 7b79409f481d31a6edac7db8f7f7f9ff55577701 (patch) | |
tree | 6777c9c2c8ab68056276c52ef2805247c0b5bc5a /textproc/urlview | |
parent | Add conflicts with mingw32-bin-msvcrt (diff) |
Use ${REINPLACE_CMD} instead of ${PERL}.
Properly adjust urlview.conf path for ${PREFIX}.
PR: 58038
Submitted by: Simon Barner <barner@in.tum.de> (reworked by me)
Notes
Notes:
svn path=/head/; revision=91346
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 |