summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv>2002-11-29 20:17:24 +0000
committerjmmv <jmmv>2002-11-29 20:17:24 +0000
commit2549cba149741d37ff0ecab3e1935c4cbcd026f1 (patch)
tree69e210492339205c9fdf6ad54448a5f3e63eb151
parent88c63f9801e666ffc24fe297df2ebca6f954499a (diff)
downloadpkgsrc-2549cba149741d37ff0ecab3e1935c4cbcd026f1.tar.gz
Initial import of hnb, version 1.8.1. Description follows:
hnb stands for Hierarchical NoteBook. It is a console (ncurses) program to organize many kinds of data in one place, including addresses, TODO lists, ideas, book reviews, brainstorming, speech outlines, etc. It stores data in XML format, and is capable of native export to ASCII and HTML. Approved by wiz. This closes my own PR 18233 (the package was provided there).
-rw-r--r--editors/hnb/DESCR5
-rw-r--r--editors/hnb/Makefile19
-rw-r--r--editors/hnb/PLIST3
-rw-r--r--editors/hnb/distinfo6
-rw-r--r--editors/hnb/patches/patch-aa15
-rw-r--r--editors/hnb/patches/patch-ab52
6 files changed, 100 insertions, 0 deletions
diff --git a/editors/hnb/DESCR b/editors/hnb/DESCR
new file mode 100644
index 00000000000..b5fedf5f938
--- /dev/null
+++ b/editors/hnb/DESCR
@@ -0,0 +1,5 @@
+hnb stands for Hierarchical NoteBook. It is a console (ncurses)
+program to organize many kinds of data in one place, including
+addresses, TODO lists, ideas, book reviews, brainstorming,
+speech outlines, etc. It stores data in XML format, and is
+capable of native export to ASCII and HTML.
diff --git a/editors/hnb/Makefile b/editors/hnb/Makefile
new file mode 100644
index 00000000000..3a041e86e31
--- /dev/null
+++ b/editors/hnb/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/29 20:17:24 jmmv Exp $
+#
+
+DISTNAME= hnb-1.8.1
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hnb/}
+
+MAINTAINER= jmmv@netbsd.org
+HOMEPAGE= http://hnb.sourceforge.net/
+COMMENT= Hierarchical data organizer
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_GMAKE= yes
+USE_NCURSES= yes
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../textproc/libxml2/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/hnb/PLIST b/editors/hnb/PLIST
new file mode 100644
index 00000000000..4599b85e7a4
--- /dev/null
+++ b/editors/hnb/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/29 20:17:24 jmmv Exp $
+bin/hnb
+man/man1/hnb.1
diff --git a/editors/hnb/distinfo b/editors/hnb/distinfo
new file mode 100644
index 00000000000..7fbcee59a2f
--- /dev/null
+++ b/editors/hnb/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/11/29 20:17:24 jmmv Exp $
+
+SHA1 (hnb-1.8.1.tar.gz) = 4232b30e213f15ee67c5bfcfe7018161d37e3d12
+Size (hnb-1.8.1.tar.gz) = 109899 bytes
+SHA1 (patch-aa) = 4d31ebd576721b634b0fed30b1cb391843958045
+SHA1 (patch-ab) = 989ddf14f27de4ea8db2905679ec301ad94e09b6
diff --git a/editors/hnb/patches/patch-aa b/editors/hnb/patches/patch-aa
new file mode 100644
index 00000000000..22d38b5a101
--- /dev/null
+++ b/editors/hnb/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/11/29 20:17:25 jmmv Exp $
+
+--- configure.in.orig Sun Sep 8 15:41:48 2002
++++ configure.in Sun Sep 8 15:41:58 2002
+@@ -6,8 +6,8 @@
+ AC_PROG_INSTALL
+
+ dnl Checks for libraries.
+-dnl Replace `main' with a function in -lcurses:
+-AC_CHECK_LIB(curses, move)
++dnl Replace `main' with a function in -lncurses:
++AC_CHECK_LIB(ncurses, move)
+ AC_HAVE_LIBRARY(xml2)
+
+
diff --git a/editors/hnb/patches/patch-ab b/editors/hnb/patches/patch-ab
new file mode 100644
index 00000000000..82eb77fb439
--- /dev/null
+++ b/editors/hnb/patches/patch-ab
@@ -0,0 +1,52 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/11/29 20:17:25 jmmv Exp $
+
+--- configure.orig Sun Sep 8 15:42:06 2002
++++ configure Sun Sep 8 15:42:32 2002
+@@ -1925,13 +1925,13 @@
+
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+-echo "$as_me:1928: checking for move in -lcurses" >&5
+-echo $ECHO_N "checking for move in -lcurses... $ECHO_C" >&6
+-if test "${ac_cv_lib_curses_move+set}" = set; then
++echo "$as_me:1928: checking for move in -lncurses" >&5
++echo $ECHO_N "checking for move in -lncurses... $ECHO_C" >&6
++if test "${ac_cv_lib_ncurses_move+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcurses $LIBS"
++LIBS="-lncurses $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line 1936 "configure"
+ #include "confdefs.h"
+@@ -1963,23 +1963,23 @@
+ ac_status=$?
+ echo "$as_me:1964: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- ac_cv_lib_curses_move=yes
++ ac_cv_lib_ncurses_move=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-ac_cv_lib_curses_move=no
++ac_cv_lib_ncurses_move=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:1975: result: $ac_cv_lib_curses_move" >&5
+-echo "${ECHO_T}$ac_cv_lib_curses_move" >&6
+-if test $ac_cv_lib_curses_move = yes; then
++echo "$as_me:1975: result: $ac_cv_lib_ncurses_move" >&5
++echo "${ECHO_T}$ac_cv_lib_ncurses_move" >&6
++if test $ac_cv_lib_ncurses_move = yes; then
+ cat >>confdefs.h <<EOF
+ #define HAVE_LIBCURSES 1
+ EOF
+
+- LIBS="-lcurses $LIBS"
++ LIBS="-lncurses $LIBS"
+
+ fi
+