aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/telbook/Makefile17
-rw-r--r--misc/telbook/distinfo4
-rw-r--r--misc/telbook/files/patch-telbook17
-rw-r--r--misc/telbook/pkg-plist3
4 files changed, 10 insertions, 31 deletions
diff --git a/misc/telbook/Makefile b/misc/telbook/Makefile
index 6cbf97ea5368..74db01d7f772 100644
--- a/misc/telbook/Makefile
+++ b/misc/telbook/Makefile
@@ -5,27 +5,26 @@
# $FreeBSD$
PORTNAME= telbook
-PORTVERSION= 0.2
-PORTREVISION= 1
+PORTVERSION= 0.4
CATEGORIES= misc
MASTER_SITES= http://home.arcor.de/kaffeetisch/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple telephone book
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2
NO_BUILD= yes
+USE_BZIP2= yes
-DOC_FILES= README
+PORTDOCS= README
+PLIST_FILES= bin/telbook
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/telbook ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/telbook ${PREFIX}/bin
.ifndef (NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-.for doc in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/misc/telbook/distinfo b/misc/telbook/distinfo
index 01d8026339c1..df5b137bbb09 100644
--- a/misc/telbook/distinfo
+++ b/misc/telbook/distinfo
@@ -1,2 +1,2 @@
-MD5 (telbook-0.2.tar.gz) = b5a032f8b12ec6c31d25dd9836bd25c9
-SIZE (telbook-0.2.tar.gz) = 11567
+MD5 (telbook-0.4.tar.bz2) = a1dae0e78c9254aa8365311be106118a
+SIZE (telbook-0.4.tar.bz2) = 10341
diff --git a/misc/telbook/files/patch-telbook b/misc/telbook/files/patch-telbook
deleted file mode 100644
index 1315628a9421..000000000000
--- a/misc/telbook/files/patch-telbook
+++ /dev/null
@@ -1,17 +0,0 @@
---- telbook.orig Mon May 19 16:22:20 2003
-+++ telbook Mon May 19 16:22:45 2003
-@@ -28,11 +28,9 @@
-
- package ui;
-
--use constant {
-- ROW_NAME => 0,
-- ROW_HOME => 1,
-- ROW_MOBILE => 2
--};
-+use constant ROW_NAME => 0;
-+use constant ROW_HOME => 1;
-+use constant ROW_MOBILE => 2;
-
- sub new {
- my ($class) = @_;
diff --git a/misc/telbook/pkg-plist b/misc/telbook/pkg-plist
deleted file mode 100644
index 14180d03567d..000000000000
--- a/misc/telbook/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/telbook
-%%PORTDOCS%%share/doc/telbook/README
-%%PORTDOCS%%@dirrm share/doc/telbook