diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-04-06 02:37:18 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-04-06 02:37:18 +0800 |
commit | 9201d2d69bc96930dfd8fc1885019f2fbe6b166c (patch) | |
tree | 190d4a1fb133d94a4e2528add2e12a3ebdfa563e /misc | |
parent | 8e76b3be7daace75011ce487c1610a32358b1f0d (diff) | |
download | freebsd-ports-gnome-9201d2d69bc96930dfd8fc1885019f2fbe6b166c.tar.gz freebsd-ports-gnome-9201d2d69bc96930dfd8fc1885019f2fbe6b166c.tar.zst freebsd-ports-gnome-9201d2d69bc96930dfd8fc1885019f2fbe6b166c.zip |
add chmlib 0.3.1
A library for dealing with Microsoft ITSS/CHM format files
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/chmlib/Makefile | 25 | ||||
-rw-r--r-- | misc/chmlib/distinfo | 1 | ||||
-rw-r--r-- | misc/chmlib/files/patch-Makefile | 19 | ||||
-rw-r--r-- | misc/chmlib/pkg-descr | 7 | ||||
-rw-r--r-- | misc/chmlib/pkg-plist | 5 |
6 files changed, 58 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 47ad080650a5..1a6895d2f612 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -34,6 +34,7 @@ SUBDIR += cfe SUBDIR += cheatah SUBDIR += chef + SUBDIR += chmlib SUBDIR += chord SUBDIR += chord2html SUBDIR += clex diff --git a/misc/chmlib/Makefile b/misc/chmlib/Makefile new file mode 100644 index 000000000000..e305030d99f9 --- /dev/null +++ b/misc/chmlib/Makefile @@ -0,0 +1,25 @@ +# ex:ts=8 +# Ports collection makefile for: chmlib +# Date created: Apr 5, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= chmlib +PORTVERSION= 0.3.1 +CATEGORIES= misc +MASTER_SITES= http://66.93.236.84/~jedwin/projects/chmlib/ +DISTNAME= ${PORTNAME}-0.31 +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= A library for dealing with Microsoft ITSS/CHM format files + +# use libtool, but no configure +BUILD_DEPENDS= libtool:${PORTSDIR}/devel/libtool + +USE_GMAKE= yes +INSTALLS_SHLIB= yes + +.include <bsd.port.mk> diff --git a/misc/chmlib/distinfo b/misc/chmlib/distinfo new file mode 100644 index 000000000000..46cb0a2d4b4e --- /dev/null +++ b/misc/chmlib/distinfo @@ -0,0 +1 @@ +MD5 (chmlib-0.31.tgz) = 5ff2d8476d4124d04aae11601b844c63 diff --git a/misc/chmlib/files/patch-Makefile b/misc/chmlib/files/patch-Makefile new file mode 100644 index 000000000000..9e402cd7997e --- /dev/null +++ b/misc/chmlib/files/patch-Makefile @@ -0,0 +1,19 @@ +--- Makefile.orig Sat Apr 5 23:57:17 2003 ++++ Makefile Sun Apr 6 02:30:25 2003 +@@ -7,11 +7,11 @@ + # 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 -DCHM_USE_PREAD -DCHM_USE_IO64 -DDMALLOC_DISABLE ++LDFLAGS=${PTHREAD_LIBS} ++INSTALLPREFIX=${PREFIX} ++#CC=gcc-3.2 ++LD=${CC} + LIBTOOL=libtool + CP=/bin/cp + EXAMPLES=test_chmLib enum_chmLib enumdir_chmLib chm_http extract_chmLib diff --git a/misc/chmlib/pkg-descr b/misc/chmlib/pkg-descr new file mode 100644 index 000000000000..1a26625d0cbe --- /dev/null +++ b/misc/chmlib/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: http://66.93.236.84/~jedwin/projects/chmlib/ diff --git a/misc/chmlib/pkg-plist b/misc/chmlib/pkg-plist new file mode 100644 index 000000000000..aadb448d709d --- /dev/null +++ b/misc/chmlib/pkg-plist @@ -0,0 +1,5 @@ +include/chm_lib.h +lib/libchm.a +lib/libchm.la +lib/libchm.so +lib/libchm.so.0 |