aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-02-08 17:09:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-02-08 17:09:09 +0000
commit51fdedf3f9a4eb659a58e30ebe8e1fcaef60dea6 (patch)
tree7044aa2ba49a0d6b342b950239c4503fbf7b12b6
parentf78edf31222694b35768517b3d9063723ea71211 (diff)
downloadports-51fdedf3f9a4eb659a58e30ebe8e1fcaef60dea6.tar.gz
ports-51fdedf3f9a4eb659a58e30ebe8e1fcaef60dea6.zip
Notes
-rw-r--r--sysutils/ck4up/Makefile13
-rw-r--r--sysutils/ck4up/distinfo6
-rw-r--r--sysutils/ck4up/files/patch-Makefile23
-rw-r--r--sysutils/ck4up/files/patch-ck4up.rb8
-rw-r--r--sysutils/ck4up/files/patch-ck4up.sh11
5 files changed, 10 insertions, 51 deletions
diff --git a/sysutils/ck4up/Makefile b/sysutils/ck4up/Makefile
index 2231ddee2436..a21ef8fea8cc 100644
--- a/sysutils/ck4up/Makefile
+++ b/sysutils/ck4up/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ck4up
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://jue.li/crux/ck4up/
@@ -23,14 +22,16 @@ RUBY_NO_BUILD_DEPENDS= yes
MAN1= ck4up.1
-PLIST_DIRS= %%EXAMPLESDIR%%
-PLIST_FILES= bin/ck4up %%EXAMPLESDIR%%/ck4up.conf
+PORTEXAMPLES= ck4up.conf
+
+PLIST_FILES= bin/ck4up
post-patch:
- @${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/*
+ @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
+ ${WRKSRC}/Makefile
post-install:
-.if !defined(NOPORTDOCS)
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/ck4up.conf ${EXAMPLESDIR}
.endif
diff --git a/sysutils/ck4up/distinfo b/sysutils/ck4up/distinfo
index f7f56a26cab1..3fc48a6f59e0 100644
--- a/sysutils/ck4up/distinfo
+++ b/sysutils/ck4up/distinfo
@@ -1,3 +1,3 @@
-MD5 (ck4up-1.0.tar.gz) = 314a6e2a273e41f8d585aec13c8c8ac3
-SHA256 (ck4up-1.0.tar.gz) = 6ce0af975752d3e645694643f5071e05a7dc66481fd496d6b895013406aed1b8
-SIZE (ck4up-1.0.tar.gz) = 6940
+MD5 (ck4up-1.1.tar.gz) = d09938e1df4fff2e3571c5b65f8fdc31
+SHA256 (ck4up-1.1.tar.gz) = 64c6444ec5d660755ed05d3b16f0034f5f29670265a28d3d81eae8b90d24651f
+SIZE (ck4up-1.1.tar.gz) = 6977
diff --git a/sysutils/ck4up/files/patch-Makefile b/sysutils/ck4up/files/patch-Makefile
deleted file mode 100644
index 65925c128752..000000000000
--- a/sysutils/ck4up/files/patch-Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
---- Makefile.orig Mon Nov 20 19:12:16 2006
-+++ Makefile Mon Nov 20 19:12:51 2006
-@@ -1,15 +1,14 @@
--# $Id: Makefile 70 2003-10-20 19:54:10Z juergen $
-
--PREFIX=/usr
--BINDIR=$(PREFIX)/bin
--MANDIR=$(PREFIX)/man/man1
-+
-+BINDIR=%%PREFIX%%/bin
-+MANDIR=%%PREFIX%%/man/man1
-
- DESTDIR=
-
- all : install
-
- install:
-- install -D -m 755 ck4up.rb $(DESTDIR)$(BINDIR)/ck4up
-- install -D -m 644 ck4up.1 $(DESTDIR)$(MANDIR)/ck4up.1
-+ install -m 755 ck4up.rb $(DESTDIR)$(BINDIR)/ck4up
-+ install -m 644 ck4up.1 $(DESTDIR)$(MANDIR)/ck4up.1
-
- # End of file
diff --git a/sysutils/ck4up/files/patch-ck4up.rb b/sysutils/ck4up/files/patch-ck4up.rb
deleted file mode 100644
index 0bb74021a150..000000000000
--- a/sysutils/ck4up/files/patch-ck4up.rb
+++ /dev/null
@@ -1,8 +0,0 @@
---- ck4up.rb.orgi 2008-04-19 12:02:48.000000000 +0200
-+++ ck4up.rb 2008-04-19 12:03:04.000000000 +0200
-@@ -1,4 +1,4 @@
--#! /usr/bin/ruby
-+#! %%PREFIX%%/bin/ruby
- #
- # ck4up
- #
diff --git a/sysutils/ck4up/files/patch-ck4up.sh b/sysutils/ck4up/files/patch-ck4up.sh
deleted file mode 100644
index da18f2c6ab3f..000000000000
--- a/sysutils/ck4up/files/patch-ck4up.sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- ck4up.sh.orig Sun Nov 19 21:39:51 2006
-+++ ck4up.sh Sun Nov 19 21:40:12 2006
-@@ -5,7 +5,7 @@
- #
- # Jürgen Daubert <juergen.daubert@t-online.de>
-
--PROG='/usr/bin/ck4up'
-+PROG='%%PREFIX%%/bin/ck4up'
- DIFF=`$PROG $@ | awk '{if ($3 ~ /diff:/) {print $4} else {print $0 > "/dev/stderr"}}'`
- TEST_MOZ=`ps ax | grep -v grep | grep -c firefox`
-