aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 09:39:16 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 09:39:16 +0000
commit408437f7f78eb0a1fc098260d885fa17a9b7cf8d (patch)
tree11b41283165d7cfdb6dba0652aba0324372f7dea
parentda789f6807736d094f3996ec70f97a8bc252037f (diff)
downloadports-408437f7f78eb0a1fc098260d885fa17a9b7cf8d.tar.gz
ports-408437f7f78eb0a1fc098260d885fa17a9b7cf8d.zip
Notes
-rw-r--r--sysutils/ck4up/Makefile7
-rw-r--r--sysutils/ck4up/distinfo6
-rw-r--r--sysutils/ck4up/files/patch-ck4up.rb8
3 files changed, 8 insertions, 13 deletions
diff --git a/sysutils/ck4up/Makefile b/sysutils/ck4up/Makefile
index eb101efd3b67..be13a16aa4ae 100644
--- a/sysutils/ck4up/Makefile
+++ b/sysutils/ck4up/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ck4up
-PORTVERSION= 0.2.4
+PORTVERSION= 1.0
CATEGORIES= sysutils
MASTER_SITES= http://jue.li/crux/ck4up/
@@ -17,6 +17,9 @@ RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/gdbm.so:${PORTSDIR}/databases/ruby-gdbm
NO_BUILD= yes
USE_RUBY= yes
+RUBY_VER= 1.8
+RUBY_NO_BUILD_DEPENDS= yes
+RUBY_SHEBANG_FILES= ck4up.rb
MAN1= ck4up.1
@@ -24,7 +27,7 @@ PLIST_DIRS= %%EXAMPLESDIR%%
PLIST_FILES= bin/ck4up %%EXAMPLESDIR%%/ck4up.conf
post-patch:
- ${RUBY} -i -pe 'gsub /%%PREFIX%%/, "${PREFIX}"' ${WRKSRC}/*
+ @${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/*
post-install:
.if !defined(NOPORTDOCS)
diff --git a/sysutils/ck4up/distinfo b/sysutils/ck4up/distinfo
index d8d698964648..f7f56a26cab1 100644
--- a/sysutils/ck4up/distinfo
+++ b/sysutils/ck4up/distinfo
@@ -1,3 +1,3 @@
-MD5 (ck4up-0.2.4.tar.gz) = 2f289ac618c504aec574e272141e9f39
-SHA256 (ck4up-0.2.4.tar.gz) = af610cdfa72a7fbe11baed98656f6e33053bcda6af277140b00f22c6223a4e22
-SIZE (ck4up-0.2.4.tar.gz) = 6588
+MD5 (ck4up-1.0.tar.gz) = 314a6e2a273e41f8d585aec13c8c8ac3
+SHA256 (ck4up-1.0.tar.gz) = 6ce0af975752d3e645694643f5071e05a7dc66481fd496d6b895013406aed1b8
+SIZE (ck4up-1.0.tar.gz) = 6940
diff --git a/sysutils/ck4up/files/patch-ck4up.rb b/sysutils/ck4up/files/patch-ck4up.rb
deleted file mode 100644
index d0a4706177f7..000000000000
--- a/sysutils/ck4up/files/patch-ck4up.rb
+++ /dev/null
@@ -1,8 +0,0 @@
---- ck4up.rb.orig Sun Nov 19 21:39:42 2006
-+++ ck4up.rb Sun Nov 19 21:40:03 2006
-@@ -1,4 +1,4 @@
--#! /usr/bin/ruby
-+#! %%PREFIX%%/bin/ruby
- #
- # ck4up
- #