Date: Wed, 19 Dec 2007 16:21:29 +0100 From: "Pietro Cerutti" <gahr@gahr.ch> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/118861: [change] misc/chmlib enable installation of example applications + adopt maintainship Message-ID: <1198077689.45208@gahrtop.localhost> Resent-Message-ID: <200712191530.lBJFU15N025041@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118861 >Category: ports >Synopsis: [change] misc/chmlib enable installation of example applications + adopt maintainship >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 19 15:30:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 8.0-CURRENT #18: Tue Dec 18 12:48:22 CET 2007 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: The patch below: - adds an OPTION to install a few sample application along with the libs - sets maintainship to me >How-To-Repeat: >Fix: --- _chmlib.diff begins here --- --- Makefile.orig 2007-12-19 16:18:21.000000000 +0100 +++ Makefile 2007-12-19 16:18:59.000000000 +0100 @@ -11,16 +11,27 @@ CATEGORIES= misc MASTER_SITES= http://www.jedrea.com/chmlib/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@gahr.ch COMMENT= A library for dealing with Microsoft ITSS/CHM format files +OPTIONS= EXAMPLES "build example applications" ON + USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-io64 --disable-pread --exec-prefix=${PREFIX} --disable-static USE_GMAKE= yes USE_LDCONFIG= yes +.include <bsd.port.pre.mk> + +.if defined(WITH_EXAMPLES) +CONFIGURE_ARGS+= -enable-examples +PLIST_SUB+= EXAMPLES="" +.else +PLIST_SUB+= EXAMPLES="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- pkg-plist.orig 2007-12-19 16:18:32.000000000 +0100 +++ pkg-plist 2007-12-19 16:18:39.000000000 +0100 @@ -2,3 +2,8 @@ include/lzx.h lib/libchm.so lib/libchm.so.0 +%%EXAMPLES%%bin/chm_http +%%EXAMPLES%%bin/enum_chmLib +%%EXAMPLES%%bin/enumdir_chmLib +%%EXAMPLES%%bin/extract_chmLib +%%EXAMPLES%%bin/test_chmLib --- _chmlib.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1198077689.45208>