aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-05-29 19:14:48 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-05-29 19:14:48 +0800
commit902d00306ba7bd6ba171e29356e39adecfa1516f (patch)
treeaca257c6557e4a3f3d6310b17ed99d0fafc36ba9
parent86027c77f43b33a1a511bb634d1702487d670a96 (diff)
downloadfreebsd-ports-gnome-902d00306ba7bd6ba171e29356e39adecfa1516f.tar.gz
freebsd-ports-gnome-902d00306ba7bd6ba171e29356e39adecfa1516f.tar.zst
freebsd-ports-gnome-902d00306ba7bd6ba171e29356e39adecfa1516f.zip
- Add LICENSE
- Sort RUN_DEPENDS - Fix PLIST - Regenerate patch file with makepatch: - Update WWW - Bump PORTREVISION for package change
-rw-r--r--devel/rubygem-rbtrace/Makefile13
-rw-r--r--devel/rubygem-rbtrace/files/patch-ext__rbtrace.c4
-rw-r--r--devel/rubygem-rbtrace/pkg-descr2
3 files changed, 13 insertions, 6 deletions
diff --git a/devel/rubygem-rbtrace/Makefile b/devel/rubygem-rbtrace/Makefile
index 5c2e68b3fe54..d9c5b3977d91 100644
--- a/devel/rubygem-rbtrace/Makefile
+++ b/devel/rubygem-rbtrace/Makefile
@@ -3,18 +3,25 @@
PORTNAME= rbtrace
PORTVERSION= 0.4.5
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Shows method calls inside another ruby process in real time
+LICENSE= MIT
+
RUN_DEPENDS= rubygem-ffi>=1.0.6:${PORTSDIR}/devel/rubygem-ffi \
- rubygem-trollop>=1.16.2:${PORTSDIR}/devel/rubygem-trollop \
- rubygem-msgpack>=0.4.3:${PORTSDIR}/devel/rubygem-msgpack
+ rubygem-msgpack>=0.4.3:${PORTSDIR}/devel/rubygem-msgpack \
+ rubygem-trollop>=1.16.2:${PORTSDIR}/devel/rubygem-trollop
USE_RUBY= yes
USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST=yes
+RUBYGEM_AUTOPLIST= yes
+PLIST_FILES= bin/rbtrace \
+ %%GEM_LIB_DIR%%/ext/src/msgpack-0.5.7/src/.libs/libmsgpack.la \
+ %%GEM_LIB_DIR%%/ext/src/msgpack-0.5.7/src/.libs/libmsgpackc.la
+
.include <bsd.port.mk>
diff --git a/devel/rubygem-rbtrace/files/patch-ext__rbtrace.c b/devel/rubygem-rbtrace/files/patch-ext__rbtrace.c
index f14efe66d913..f35f51b587af 100644
--- a/devel/rubygem-rbtrace/files/patch-ext__rbtrace.c
+++ b/devel/rubygem-rbtrace/files/patch-ext__rbtrace.c
@@ -1,4 +1,4 @@
---- ext/rbtrace.c
+--- ext/rbtrace.c.orig 2015-05-29 10:59:59 UTC
+++ ext/rbtrace.c
@@ -40,6 +40,16 @@
#define RSTRING_LEN(str) RSTRING(str)->len
@@ -17,7 +17,7 @@
static uint64_t
ru_utime_usec()
{
-@@ -953,7 +963,14 @@ rbtrace__process_event(msgpack_object cmd)
+@@ -953,7 +963,14 @@ rbtrace__process_event(msgpack_object cm
if (outer == 0) {
rb_eval_string_protect("$0 = \"[DEBUG] #{Process.ppid}\"", 0);
diff --git a/devel/rubygem-rbtrace/pkg-descr b/devel/rubygem-rbtrace/pkg-descr
index 0453268dc8e0..c9ad83d262fb 100644
--- a/devel/rubygem-rbtrace/pkg-descr
+++ b/devel/rubygem-rbtrace/pkg-descr
@@ -1,4 +1,4 @@
rbtrace shows you method calls happening inside another ruby process in real
time.
-WWW: http://github.com/tmm1/rbtrace
+WWW: https://github.com/tmm1/rbtrace