From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 19 15:30:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5498616A41B for ; Wed, 19 Dec 2007 15:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 39E6E13C4EF for ; Wed, 19 Dec 2007 15:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBJFU1fJ025044 for ; Wed, 19 Dec 2007 15:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBJFU15N025041; Wed, 19 Dec 2007 15:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 19 Dec 2007 15:30:01 GMT Resent-Message-Id: <200712191530.lBJFU15N025041@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pietro Cerutti" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 055C316A418 for ; Wed, 19 Dec 2007 15:23:05 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 960D613C469 for ; Wed, 19 Dec 2007 15:23:04 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpa (Exim 4.68) (envelope-from ) id 1J50lD-0000cV-PI for FreeBSD-gnats-submit@freebsd.org; Wed, 19 Dec 2007 16:23:03 +0100 Received: from gahrtop.localhost (localhost [127.0.0.1]) by gahrtop.localhost (Postfix) with ESMTP id BE9DC73070 for ; Wed, 19 Dec 2007 16:21:29 +0100 (CET) Message-Id: <1198077689.45208@gahrtop.localhost> Date: Wed, 19 Dec 2007 16:21:29 +0100 From: "Pietro Cerutti" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: Subject: ports/118861: [change] misc/chmlib enable installation of example applications + adopt maintainship X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 15:30:01 -0000 >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 + +.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 +.include --- 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: