devel/chmlib has some useful example programs, but we don't build them
by default. This patch enables them in the build.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/chmlib/Makefile,v
retrieving revision 1.9
diff -N -u -p Makefile
--- Makefile    8 Mar 2011 20:15:26 -0000       1.9
+++ Makefile    17 Feb 2012 03:06:48 -0000
@@ -7,13 +7,14 @@ 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
 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/chmlib/pkg/PLIST,v
retrieving revision 1.2
diff -N -u -p pkg/PLIST
--- pkg/PLIST   19 Jun 2006 18:14:59 -0000      1.2
+++ pkg/PLIST   17 Feb 2012 03:06:48 -0000
@@ -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

Reply via email to