pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/chmlib Initial import of chmlib, a library deali...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c7e9c0ea713
branches:  trunk
changeset: 465815:5c7e9c0ea713
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 06 15:34:01 2004 +0000

description:
Initial import of chmlib, a library dealing with .chm files,
from pkgsrc-wip (by xtraeme@).

CHMLIB is a library for dealing with Microsoft ITSS/CHM format
files. Right now, it is a very simple library, but sufficient for
dealing with all of the .chm files I've come across. Due to the
fairly well-designed indexing built into this particular file
format, even a small library is able to gain reasonably good
performance indexing into ITSS archives. Since the last version
there have been major bugfixes, portability improvements, and minor
feature additions.

diffstat:

 devel/chmlib/DESCR            |   8 ++++++++
 devel/chmlib/Makefile         |  20 ++++++++++++++++++++
 devel/chmlib/PLIST            |   7 +++++++
 devel/chmlib/buildlink2.mk    |  24 ++++++++++++++++++++++++
 devel/chmlib/distinfo         |   5 +++++
 devel/chmlib/patches/patch-aa |  20 ++++++++++++++++++++
 6 files changed, 84 insertions(+), 0 deletions(-)

diffs (108 lines):

diff -r 15c2e8f71306 -r 5c7e9c0ea713 devel/chmlib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/chmlib/DESCR        Tue Jan 06 15:34:01 2004 +0000
@@ -0,0 +1,8 @@
+CHMLIB is a library for dealing with Microsoft ITSS/CHM format
+files. Right now, it is a very simple library, but sufficient for
+dealing with all of the .chm files I've come across. Due to the
+fairly well-designed indexing built into this particular file
+format, even a small library is able to gain reasonably good
+performance indexing into ITSS archives. Since the last version
+there have been major bugfixes, portability improvements, and minor
+feature additions.
diff -r 15c2e8f71306 -r 5c7e9c0ea713 devel/chmlib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/chmlib/Makefile     Tue Jan 06 15:34:01 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/06 15:34:01 wiz Exp $
+#
+
+DISTNAME=      chmlib-0.31
+CATEGORIES=    devel
+MASTER_SITES=  http://66.93.236.84/%7Ejedwin/projects/chmlib/
+EXTRACT_SUFX=  .tbz
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://66.93.236.84/%7Ejedwin/projects/chmlib/
+COMMENT=       Library for dealing with Microsoft ITSS/CHM format files
+
+USE_BUILDLINK2=                yes
+USE_GMAKE=             yes
+USE_LIBTOOL=           yes
+
+PTHREAD_OPTS=          require
+
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 15c2e8f71306 -r 5c7e9c0ea713 devel/chmlib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/chmlib/PLIST        Tue Jan 06 15:34:01 2004 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/06 15:34:01 wiz Exp $
+include/chm_lib.h
+lib/libchm.a
+lib/libchm.la
+lib/libchm.so
+lib/libchm.so.0
+lib/libchm.so.0.0
diff -r 15c2e8f71306 -r 5c7e9c0ea713 devel/chmlib/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/chmlib/buildlink2.mk        Tue Jan 06 15:34:01 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/06 15:34:02 wiz Exp $
+#
+# This Makefile fragment is included by packages that use chmlib.
+#
+# This file was created automatically using createbuildlink 2.6.
+#
+
+.if !defined(CHMLIB_BUILDLINK2_MK)
+CHMLIB_BUILDLINK2_MK=  # defined
+
+BUILDLINK_PACKAGES+=                   chmlib
+BUILDLINK_DEPENDS.chmlib?=             chmlib>=0.31
+BUILDLINK_PKGSRCDIR.chmlib?=           ../../devel/chmlib
+
+EVAL_PREFIX+=  BUILDLINK_PREFIX.chmlib=chmlib
+BUILDLINK_PREFIX.chmlib_DEFAULT=       ${LOCALBASE}
+BUILDLINK_FILES.chmlib+=       include/chm_lib.h
+BUILDLINK_FILES.chmlib+=       lib/libchm.*
+
+BUILDLINK_TARGETS+=    chmlib-buildlink
+
+chmlib-buildlink: _BUILDLINK_USE
+
+.endif # CHMLIB_BUILDLINK2_MK
diff -r 15c2e8f71306 -r 5c7e9c0ea713 devel/chmlib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/chmlib/distinfo     Tue Jan 06 15:34:01 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/06 15:34:01 wiz Exp $
+
+SHA1 (chmlib-0.31.tbz) = 4d6be22cb408695c7e8ef6933b46e5cd46d13048
+Size (chmlib-0.31.tbz) = 40810 bytes
+SHA1 (patch-aa) = fd9195cb5fc879e7c295746dde5c81a0abc6e187
diff -r 15c2e8f71306 -r 5c7e9c0ea713 devel/chmlib/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/chmlib/patches/patch-aa     Tue Jan 06 15:34:01 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/06 15:34:02 wiz Exp $
+
+--- Makefile.orig      Wed Oct  9 23:25:54 2002
++++ Makefile
+@@ -7,11 +7,10 @@
+ # Note: LDFLAGS must contain -lpthread if you are using -DCHM_MT.
+ #
+ #CFLAGS=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64
+-CFLAGS=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE
+-LDFLAGS=-lpthread
+-INSTALLPREFIX=/usr/local/
+-CC=gcc-3.2
+-LD=gcc-3.2
++CFLAGS+=-DCHM_MT -DDMALLOC_DISABLE
++LDFLAGS+=-lpthread
++INSTALLPREFIX=${PREFIX}
++LD=${CC}
+ LIBTOOL=libtool
+ CP=/bin/cp
+ EXAMPLES=test_chmLib enum_chmLib enumdir_chmLib chm_http extract_chmLib



Home | Main Index | Thread Index | Old Index