summaryrefslogtreecommitdiff
path: root/misc/telbook
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-05-19 17:35:50 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-05-19 17:35:50 +0000
commitf55c980c4f0680135619ac310b2421fd0ad7c583 (patch)
tree0d4b171f4a5027df71c649126277c71ce433e48e /misc/telbook
parentNew port: localized messages and documentation for koffice (diff)
New port: telbook
Simple telephone book. Submitted by: Kirill Ponomarew
Notes
Notes: svn path=/head/; revision=81428
Diffstat (limited to 'misc/telbook')
-rw-r--r--misc/telbook/Makefile30
-rw-r--r--misc/telbook/distinfo1
-rw-r--r--misc/telbook/files/patch-telbook17
-rw-r--r--misc/telbook/pkg-descr6
-rw-r--r--misc/telbook/pkg-plist3
5 files changed, 57 insertions, 0 deletions
diff --git a/misc/telbook/Makefile b/misc/telbook/Makefile
new file mode 100644
index 000000000000..b9bc915dcf0d
--- /dev/null
+++ b/misc/telbook/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: telbook
+# Date created: 19 May 2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+
+PORTNAME= telbook
+PORTVERSION= 0.2
+CATEGORIES= misc
+MASTER_SITES= http://home.arcor.de/kaffeetisch/downloads/
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= Simple telephone book
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
+
+NO_BUILD= yes
+
+DOC_FILES= README
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/telbook ${PREFIX}/bin/
+.ifndef (NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/telbook/distinfo b/misc/telbook/distinfo
new file mode 100644
index 000000000000..a2f1f04259e7
--- /dev/null
+++ b/misc/telbook/distinfo
@@ -0,0 +1 @@
+MD5 (telbook-0.2.tar.gz) = b5a032f8b12ec6c31d25dd9836bd25c9
diff --git a/misc/telbook/files/patch-telbook b/misc/telbook/files/patch-telbook
new file mode 100644
index 000000000000..1315628a9421
--- /dev/null
+++ b/misc/telbook/files/patch-telbook
@@ -0,0 +1,17 @@
+--- 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-descr b/misc/telbook/pkg-descr
new file mode 100644
index 000000000000..352dd9b8b679
--- /dev/null
+++ b/misc/telbook/pkg-descr
@@ -0,0 +1,6 @@
+Telbook is a simple telephone book with which you can manage a
+list of persons and their home and mobile telephone numbers.
+Its purpose is not to provide you with a full-fletched address
+book but to be a simple yet convenient tool.
+
+WWW: http://home.arcor.de/kaffeetisch/telbook.html
diff --git a/misc/telbook/pkg-plist b/misc/telbook/pkg-plist
new file mode 100644
index 000000000000..14180d03567d
--- /dev/null
+++ b/misc/telbook/pkg-plist
@@ -0,0 +1,3 @@
+bin/telbook
+%%PORTDOCS%%share/doc/telbook/README
+%%PORTDOCS%%@dirrm share/doc/telbook