Bug 46091 - new port: deskutils/knowit: kde note taker/manager
Summary: new port: deskutils/knowit: kde note taker/manager
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alan Eldridge
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-08 08:00 UTC by Alan Eldridge
Modified: 2003-01-01 15:45 UTC (History)
0 users

See Also:


Attachments
file.diff (1.52 KB, patch)
2002-12-08 08:00 UTC, Alan Eldridge
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Eldridge freebsd_committer freebsd_triage 2002-12-08 08:00:20 UTC
Really neat little note manager. Uses RTF so you can have formatting
or foreign chars in text. I'm PR'ing it so that those who want to try
it before I can commit can do so.

Fix: ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2002-12-08 02:44 EST by <root@wwweasel.geeksrus.net>.
# Source directory was `/home/bsd/ports'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#     60 -rw-r--r-- deskutils/knowit/distinfo
#    711 -rw-r--r-- deskutils/knowit/Makefile
#     64 -rw-r--r-- deskutils/knowit/pkg-comment
#    328 -rw-r--r-- deskutils/knowit/pkg-descr
#    681 -rw-r--r-- deskutils/knowit/pkg-plist
#    593 -rw-r--r-- deskutils/knowit/files/patch-knowit-notes.cpp
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then
  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$2 "$8"'
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
#
if mkdir _sh42447; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= deskutils/knowit/distinfo ==============
if test ! -d 'deskutils'; then
  $echo 'x -' 'creating directory' 'deskutils'
  mkdir 'deskutils'
fi
if test ! -d 'deskutils/knowit'; then
  $echo 'x -' 'creating directory' 'deskutils/knowit'
  mkdir 'deskutils/knowit'
fi
if test -f 'deskutils/knowit/distinfo' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'deskutils/knowit/distinfo' '(file already exists)'
else
  $echo 'x -' extracting 'deskutils/knowit/distinfo' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'deskutils/knowit/distinfo' &&
MD5 (knowit-0.4.tar.bz2) = 244f4878be346980e0ccd40372606f0c
SHAR_EOF
  (set 20 02 12 08 02 25 06 'deskutils/knowit/distinfo'; eval "$shar_touch") &&
  chmod 0644 'deskutils/knowit/distinfo' ||
  $echo 'restore of' 'deskutils/knowit/distinfo' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'deskutils/knowit/distinfo:' 'MD5 check failed'
0e48d3c71eb0b9eabd49010f27783630  deskutils/knowit/distinfo
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'deskutils/knowit/distinfo'`"
    test 60 -eq "$shar_count" ||
    $echo 'deskutils/knowit/distinfo:' 'original size' '60,' 'current size' "$shar_count!"
  fi
fi
# ============= deskutils/knowit/Makefile ==============
if test -f 'deskutils/knowit/Makefile' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'deskutils/knowit/Makefile' '(file already exists)'
else
  $echo 'x -' extracting 'deskutils/knowit/Makefile' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'deskutils/knowit/Makefile' &&
# ex:ts=8
#
# New ports collection makefile for:	knowit
# Date created:			2002/12/08
# Whom:				Alan Eldridge <ports@geeksrus.net>
#
# $FreeBSD$
#
X
PORTNAME=	knowit
PORTVERSION=	0.4
PORTREVISION=	0
#PORTEPOCH=
CATEGORIES=	deskutils
MASTER_SITES=	http://www.uw.edu.pl/~mrudolf/files/
#MASTER_SITE_SUBDIR=
#PKGNAMEPREFIX=
#PKGNAMESUFFIX=
#DISTNAME=
#EXTRACT_SUFX=
#DISTFILES=
#DIST_SUBDIR=	${PKGNAMEPREFIX}${PORTNAME}
#EXTRACT_ONLY=
X
MAINTAINER=	alane@freebsd.org
X
USE_KDELIBS_VER=3
PREFIX=		${KDE_PREFIX}
X
USE_BZIP2=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
X
BINDIR=		${PREFIX}/bin
X
post-install:
X	cd ${BINDIR}; rm -f ${PORTNAME}; \
X		ln -sf ${CONFIGURE_TARGET}-${PORTNAME} ${PORTNAME}
X
X.include <bsd.port.mk>
#EOF
SHAR_EOF
  (set 20 02 12 08 02 37 16 'deskutils/knowit/Makefile'; eval "$shar_touch") &&
  chmod 0644 'deskutils/knowit/Makefile' ||
  $echo 'restore of' 'deskutils/knowit/Makefile' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'deskutils/knowit/Makefile:' 'MD5 check failed'
d8731e791978431460bce3977abafe16  deskutils/knowit/Makefile
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'deskutils/knowit/Makefile'`"
    test 711 -eq "$shar_count" ||
    $echo 'deskutils/knowit/Makefile:' 'original size' '711,' 'current size' "$shar_count!"
  fi
fi
# ============= deskutils/knowit/pkg-comment ==============
if test -f 'deskutils/knowit/pkg-comment' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'deskutils/knowit/pkg-comment' '(file already exists)'
else
  $echo 'x -' extracting 'deskutils/knowit/pkg-comment' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'deskutils/knowit/pkg-comment' &&
A note manager with tree organization that uses RTF for storage
SHAR_EOF
  (set 20 02 12 08 02 24 38 'deskutils/knowit/pkg-comment'; eval "$shar_touch") &&
  chmod 0644 'deskutils/knowit/pkg-comment' ||
  $echo 'restore of' 'deskutils/knowit/pkg-comment' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'deskutils/knowit/pkg-comment:' 'MD5 check failed'
e668e7702d135e2dc379cd877e786fc4  deskutils/knowit/pkg-comment
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'deskutils/knowit/pkg-comment'`"
    test 64 -eq "$shar_count" ||
    $echo 'deskutils/knowit/pkg-comment:' 'original size' '64,' 'current size' "$shar_count!"
  fi
fi
# ============= deskutils/knowit/pkg-descr ==============
if test -f 'deskutils/knowit/pkg-descr' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'deskutils/knowit/pkg-descr' '(file already exists)'
else
  $echo 'x -' extracting 'deskutils/knowit/pkg-descr' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'deskutils/knowit/pkg-descr' &&
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.
X
WWW: http://www.uw.edu.pl/~mrudolf/linux/knowit.html
X
-- AlanE <alane@freebsd.org>
X
SHAR_EOF
  (set 20 02 12 08 02 20 38 'deskutils/knowit/pkg-descr'; eval "$shar_touch") &&
  chmod 0644 'deskutils/knowit/pkg-descr' ||
  $echo 'restore of' 'deskutils/knowit/pkg-descr' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'deskutils/knowit/pkg-descr:' 'MD5 check failed'
939e29414089b9fa43dc12ca912b30f7  deskutils/knowit/pkg-descr
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'deskutils/knowit/pkg-descr'`"
    test 328 -eq "$shar_count" ||
    $echo 'deskutils/knowit/pkg-descr:' 'original size' '328,' 'current size' "$shar_count!"
  fi
fi
# ============= deskutils/knowit/pkg-plist ==============
if test -f 'deskutils/knowit/pkg-plist' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'deskutils/knowit/pkg-plist' '(file already exists)'
else
  $echo 'x -' extracting 'deskutils/knowit/pkg-plist' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'deskutils/knowit/pkg-plist' &&
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
SHAR_EOF
  (set 20 02 12 08 02 38 08 'deskutils/knowit/pkg-plist'; eval "$shar_touch") &&
  chmod 0644 'deskutils/knowit/pkg-plist' ||
  $echo 'restore of' 'deskutils/knowit/pkg-plist' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'deskutils/knowit/pkg-plist:' 'MD5 check failed'
0b2982938c8dd73873f43768911c3840  deskutils/knowit/pkg-plist
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'deskutils/knowit/pkg-plist'`"
    test 681 -eq "$shar_count" ||
    $echo 'deskutils/knowit/pkg-plist:' 'original size' '681,' 'current size' "$shar_count!"
  fi
fi
# ============= deskutils/knowit/files/patch-knowit-notes.cpp ==============
if test ! -d 'deskutils/knowit/files'; then
  $echo 'x -' 'creating directory' 'deskutils/knowit/files'
  mkdir 'deskutils/knowit/files'
fi
if test -f 'deskutils/knowit/files/patch-knowit-notes.cpp' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'deskutils/knowit/files/patch-knowit-notes.cpp' '(file already exists)'
else
  $echo 'x -' extracting 'deskutils/knowit/files/patch-knowit-notes.cpp' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'deskutils/knowit/files/patch-knowit-notes.cpp' &&
Comment 1 Alan Eldridge freebsd_committer freebsd_triage 2003-01-01 15:45:25 UTC
State Changed
From-To: open->closed

committed
http://www.freebsd.org/cgi/query-pr.cgi?pr=46091