ports/177755: [patch] devel/rbenv: fix rbenv-init completions
Fabian M. Borschel
fmb at onibox.net
Thu Apr 11 21:40:02 UTC 2013
The following reply was made to PR ports/177755; it has been noted by GNATS.
From: "Fabian M. Borschel" <fmb at onibox.net>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/177755: [patch] devel/rbenv: fix rbenv-init completions
Date: Thu, 11 Apr 2013 23:22:58 +0200
--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
thanks for the patch. I updated it just a little bit.
--
fmb
--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch.txt"
Index: rbenv/Makefile
===================================================================
--- rbenv/Makefile (revision 315769)
+++ rbenv/Makefile (working copy)
@@ -2,6 +2,7 @@
PORTNAME= rbenv
PORTVERSION= 0.4.0
+PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= GH
@@ -23,6 +24,11 @@
NO_BUILD= yes
+REINPLACE_ARGS= -i ''
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|\$$root/completions|${DATADIR}/completions|g" ${WRKSRC}/libexec/rbenv-init
+
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-local-exec ${PREFIX}/bin
@( cd ${WRKSRC}/libexec && ${COPYTREE_BIN} \* ${PREFIX}/libexec )
--8t9RHnE3ZwKMSgU+--
More information about the freebsd-ports-bugs
mailing list