aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-01-01 23:06:38 +0800
committeralane <alane@FreeBSD.org>2003-01-01 23:06:38 +0800
commit155f379a487016f0d848d8900dcdd27ec7e1efda (patch)
tree00321ac617f2b0ece457482d01bdd53a5c5c1fea /deskutils
parent0c223356b069d3f4d0612c2b69e128f2a841af11 (diff)
downloadfreebsd-ports-gnome-155f379a487016f0d848d8900dcdd27ec7e1efda.tar.gz
freebsd-ports-gnome-155f379a487016f0d848d8900dcdd27ec7e1efda.tar.zst
freebsd-ports-gnome-155f379a487016f0d848d8900dcdd27ec7e1efda.zip
A tree-structured outliner, note-taker. Written up on unixreview.com this
month.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/knowit/Makefile33
-rw-r--r--deskutils/knowit/distinfo1
-rw-r--r--deskutils/knowit/files/patch-knowit-notes.cpp22
-rw-r--r--deskutils/knowit/pkg-comment1
-rw-r--r--deskutils/knowit/pkg-descr9
-rw-r--r--deskutils/knowit/pkg-plist19
7 files changed, 86 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index c16819f9f0fc..f929e4ea2623 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -22,6 +22,7 @@
SUBDIR += ithought
SUBDIR += jlj
SUBDIR += kdepim3
+ SUBDIR += knowit
SUBDIR += kronolith
SUBDIR += krss
SUBDIR += logjam
diff --git a/deskutils/knowit/Makefile b/deskutils/knowit/Makefile
new file mode 100644
index 000000000000..a1d15a4c9a1f
--- /dev/null
+++ b/deskutils/knowit/Makefile
@@ -0,0 +1,33 @@
+# ex:ts=8
+#
+# New ports collection makefile for: knowit
+# Date created: 2002/12/08
+# Whom: Alan Eldridge <ports@geeksrus.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= knowit
+PORTVERSION= 0.4
+PORTREVISION= 0
+#PORTEPOCH=
+CATEGORIES= deskutils
+MASTER_SITES= http://www.uw.edu.pl/~mrudolf/files/
+
+MAINTAINER= alane@FreeBSD.org
+
+USE_KDELIBS_VER=3
+PREFIX= ${KDE_PREFIX}
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+BINDIR= ${PREFIX}/bin
+
+post-install:
+ cd ${BINDIR}; rm -f ${PORTNAME}; \
+ ln -sf ${CONFIGURE_TARGET}-${PORTNAME} ${PORTNAME}
+
+.include <bsd.port.mk>
+#EOF
diff --git a/deskutils/knowit/distinfo b/deskutils/knowit/distinfo
new file mode 100644
index 000000000000..23fa6760311c
--- /dev/null
+++ b/deskutils/knowit/distinfo
@@ -0,0 +1 @@
+MD5 (knowit-0.4.tar.bz2) = 244f4878be346980e0ccd40372606f0c
diff --git a/deskutils/knowit/files/patch-knowit-notes.cpp b/deskutils/knowit/files/patch-knowit-notes.cpp
new file mode 100644
index 000000000000..f8605992f340
--- /dev/null
+++ b/deskutils/knowit/files/patch-knowit-notes.cpp
@@ -0,0 +1,22 @@
+--- knowit/notes.cpp.orig Sun Dec 8 01:24:02 2002
++++ knowit/notes.cpp Sun Dec 8 01:50:11 2002
+@@ -80,12 +80,13 @@
+ bool TNotesCollection::changeNote(QListViewItem* item, const QString& s)
+ {
+ TNote* changed = find(item);
+- if (!changed) qWarning("Internal error: change note\n");
+- else {
+- bool change = changed->change(s);
+- modified = modified or change;
+- return change;
+- }
++ if (!changed) {
++ qWarning("Internal error: change note\n");
++ return false;
++ }
++ if (changed->change(s)) {
++ return modified = true;
++ }
+ return false;
+ }
+
diff --git a/deskutils/knowit/pkg-comment b/deskutils/knowit/pkg-comment
new file mode 100644
index 000000000000..b1c94ba1bbd5
--- /dev/null
+++ b/deskutils/knowit/pkg-comment
@@ -0,0 +1 @@
+A note manager with tree organization that uses RTF for storage
diff --git a/deskutils/knowit/pkg-descr b/deskutils/knowit/pkg-descr
new file mode 100644
index 000000000000..e46f3dd4cd89
--- /dev/null
+++ b/deskutils/knowit/pkg-descr
@@ -0,0 +1,9 @@
+KnowIt is a simple KDE tool for managing notes in a manner similar to
+TuxCards. Notes are organized in tree-like hierarchy and can store data in a
+rich text format, so that bold, italics, and lists are supported, as well as
+any character set.
+
+WWW: http://www.uw.edu.pl/~mrudolf/linux/knowit.html
+
+-- AlanE <alane@freebsd.org>
+
diff --git a/deskutils/knowit/pkg-plist b/deskutils/knowit/pkg-plist
new file mode 100644
index 000000000000..eb699e5ea9b0
--- /dev/null
+++ b/deskutils/knowit/pkg-plist
@@ -0,0 +1,19 @@
+bin/knowit
+bin/i386-portbld-freebsd4.7-knowit
+share/applnk/Applications/knowit.desktop
+share/doc/HTML/en/knowit/common
+share/doc/HTML/en/knowit/index.cache.bz2
+share/doc/HTML/en/knowit/index.docbook
+share/doc/HTML/en/knowit/screenshot.png
+share/icons/hicolor/16x16/apps/knowit.png
+share/icons/hicolor/32x32/apps/knowit.png
+share/locale/de/LC_MESSAGES/knowit.mo
+share/locale/pl/LC_MESSAGES/knowit.mo
+share/locale/zh_CN.GB2312/LC_MESSAGES/knowit.mo
+@dirrm share/icons/hicolor/32x32/apps
+@dirrm share/icons/hicolor/32x32
+@dirrm share/icons/hicolor/16x16/apps
+@dirrm share/icons/hicolor/16x16
+@dirrm share/icons/hicolor
+@dirrm share/doc/HTML/en/knowit
+@dirrm share/applnk/Applications