1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Library for reading Microsoft ITSS/CHM formats
9 HOMEPAGE= http://www.jedrea.com/chmlib/
13 SITES[main]= http://www.jedrea.com/chmlib/
14 DISTFILE[1]= chmlib-0.40.tar.bz2:main
16 SPKGS[standard]= complete
21 OPTIONS_AVAILABLE= none
22 OPTIONS_STANDARD= none
24 USES= gmake libtool fbsd10fix mbsdfix
26 LICENSE= LGPL21+:primary
27 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
28 LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING
29 LICENSE_AWK= TERMS:"INCLUDED_CHMLIB_H"
30 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/chm_lib.h
33 FPC_EQUIVALENT= misc/chmlib
36 CONFIGURE_ARGS= --disable-io64
41 INSTALL_TARGET= install-strip
44 [FILE:357:descriptions/desc.primary]
45 CHMLIB is a library for dealing with Microsoft ITSS/CHM format files.
46 Right now, it is a very simple library, but sufficient for dealing with all
47 of the .chm files I've come across. Due to the fairly well-designed
48 indexing built into this particular file format, even a small library is
49 able to gain reasonably good performance indexing into ITSS archives.
52 [FILE:54:descriptions/desc.tools]
53 This package contains tools based on the CHM library.
57 3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3 252036 chmlib-0.40.tar.bz2
60 [FILE:53:manifests/plist.primary]
63 libchm.so.%%SOVERSION%%
66 [FILE:41:manifests/plist.dev]
73 [FILE:73:manifests/plist.tools]
82 [FILE:661:patches/patch-chm_lib.c]
83 --- src/chm_lib.c.orig 2009-05-23 14:43:31 UTC
85 @@ -149,6 +149,17 @@ typedef unsigned __int32 UInt32;
86 typedef __int64 Int64;
87 typedef unsigned __int64 UInt64;
90 +#elif defined (__FreeBSD__) || defined (__DragonFly__)
91 +#include <inttypes.h>
92 +typedef unsigned char UChar;
93 +typedef int16_t Int16;
94 +typedef uint16_t UInt16;
95 +typedef int32_t Int32;
96 +typedef uint32_t UInt32;
97 +typedef int64_t Int64;
98 +typedef uint64_t UInt64;
100 /* I386, 32-bit, non-Windows */
105 [FILE:550:patches/patch-chm_lib.h]
106 --- src/chm_lib.h.orig 2009-05-23 14:43:31 UTC
108 @@ -82,6 +82,12 @@ struct chmUnitInfo
109 char path[CHM_MAX_PATHLEN+1];
112 +typedef struct chmUnitInfo chmUnitInfo;
113 +typedef struct chm_dir {
118 /* open an ITS archive */
121 @@ -137,6 +143,7 @@ int chm_enumerate_dir(struct chmFile *h,
125 +chm_dir get_names(struct chmFile *h);
131 [FILE:293:patches/patch-configure]
132 fix "shift: can't shift that many"
134 --- configure.orig 2009-05-23 15:12:23 UTC
136 @@ -13547,7 +13547,7 @@ case $CONFIG_FILES in
137 *\'*) eval set x "$CONFIG_FILES" ;;
138 *) set x $CONFIG_FILES ;;
144 # Strip MF so we end up with the name of the file.