summaryrefslogtreecommitdiff
path: root/editors/hnb
diff options
context:
space:
mode:
Diffstat (limited to 'editors/hnb')
-rw-r--r--editors/hnb/Makefile22
-rw-r--r--editors/hnb/distinfo6
-rw-r--r--editors/hnb/patches/patch-aa15
-rw-r--r--editors/hnb/patches/patch-ab52
4 files changed, 17 insertions, 78 deletions
diff --git a/editors/hnb/Makefile b/editors/hnb/Makefile
index 527c4002c37..6b0b3b2f4fb 100644
--- a/editors/hnb/Makefile
+++ b/editors/hnb/Makefile
@@ -1,21 +1,27 @@
-# $NetBSD: Makefile,v 1.13 2004/10/03 00:14:38 tv Exp $
+# $NetBSD: Makefile,v 1.14 2004/12/05 08:28:45 jmmv Exp $
#
-DISTNAME= hnb-1.8.1
-PKGREVISION= 5
+DISTNAME= hnb-1.9.17
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hnb/}
-MAINTAINER= jmmv@NetBSD.org
+MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://hnb.sourceforge.net/
COMMENT= Hierarchical data organizer
INCOMPAT_CURSES= NetBSD-1.5* NetBSD-1.6[-_.]* NetBSD-1.6[A-U]-*
-GNU_CONFIGURE= yes
-USE_BUILDLINK3= yes
-USE_GNU_TOOLS+= make
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+
+BUILD_DIRS= ${WRKSRC}/src
+BUILD_TARGET= hnb
+
+INSTALLATION_DIRS= bin man/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/hnb ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/hnb.1 ${PREFIX}/man/man1
.include "../../devel/ncurses/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/hnb/distinfo b/editors/hnb/distinfo
index 7fbcee59a2f..8db39334937 100644
--- a/editors/hnb/distinfo
+++ b/editors/hnb/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/11/29 20:17:24 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2004/12/05 08:28:45 jmmv Exp $
-SHA1 (hnb-1.8.1.tar.gz) = 4232b30e213f15ee67c5bfcfe7018161d37e3d12
-Size (hnb-1.8.1.tar.gz) = 109899 bytes
+SHA1 (hnb-1.9.17.tar.gz) = b5204a9bda13b42ef04921e71f52e5bfe5412f13
+Size (hnb-1.9.17.tar.gz) = 143700 bytes
SHA1 (patch-aa) = 4d31ebd576721b634b0fed30b1cb391843958045
SHA1 (patch-ab) = 989ddf14f27de4ea8db2905679ec301ad94e09b6
diff --git a/editors/hnb/patches/patch-aa b/editors/hnb/patches/patch-aa
deleted file mode 100644
index 22d38b5a101..00000000000
--- a/editors/hnb/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$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
deleted file mode 100644
index 82eb77fb439..00000000000
--- a/editors/hnb/patches/patch-ab
+++ /dev/null
@@ -1,52 +0,0 @@
-$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
-