On 02/17/12 04:09, Anthony J. Bentley wrote:
devel/chmlib has some useful example programs, but we don't build them
by default. This patch enables them in the build.
ok?
fixed license marker, otherwise ok giovanni@
Cheers
Giovanni
Index: Makefile
===
RCS file: /cvs/ports/devel/chmlib/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile8 Mar 2011 20:15:26 - 1.9
+++ Makefile17 Feb 2012 15:48:04 -
@@ -7,17 +7,18 @@ HOMEPAGE= http://www.jedrea.com/chmlib/
MASTER_SITES= ${HOMEPAGE}
DISTNAME= chmlib-0.40
+REVISION = 0
SHARED_LIBS += chm 0.2 # .0.0
CONFIGURE_STYLE=gnu
USE_LIBTOOL= Yes
# stupid linux shit
-CONFIGURE_ARGS=--disable-io64
+CONFIGURE_ARGS = --disable-io64 --enable-examples
WANTLIB= pthread
-#GPL
+# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/chmlib/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST 19 Jun 2006 18:14:59 - 1.2
+++ pkg/PLIST 17 Feb 2012 15:48:04 -
@@ -1,5 +1,10 @@
@comment $OpenBSD: PLIST,v 1.2 2006/06/19 18:14:59 bernd Exp $
%%SHARED%%
+@bin bin/chm_http
+@bin bin/enum_chmLib
+@bin bin/enumdir_chmLib
+@bin bin/extract_chmLib
+@bin bin/test_chmLib
include/chm_lib.h
include/lzx.h
lib/libchm.a