From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 26 21:00:49 2006 Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG> X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18BDD16A72B for <freebsd-ports-bugs@hub.freebsd.org>; Fri, 26 May 2006 21:00:47 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E38E43D5C for <freebsd-ports-bugs@hub.freebsd.org>; Fri, 26 May 2006 21:00:46 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4QL0kdM081950 for <freebsd-ports-bugs@freefall.freebsd.org>; Fri, 26 May 2006 21:00:46 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4QL0k4f081949; Fri, 26 May 2006 21:00:46 GMT (envelope-from gnats) Resent-Date: Fri, 26 May 2006 21:00:46 GMT Resent-Message-Id: <200605262100.k4QL0k4f081949@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, Rene Ladan <r.c.ladan@gmail.com> Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4317816A808 for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 May 2006 20:58:07 +0000 (UTC) (envelope-from rene@82-168-79-254.dsl.ip.tiscali.nl) Received: from 82-168-79-254.dsl.ip.tiscali.nl (82-168-74-136.dsl.ip.tiscali.nl [82.168.74.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D15043D55 for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 May 2006 20:58:05 +0000 (GMT) (envelope-from rene@82-168-79-254.dsl.ip.tiscali.nl) Received: from 82-168-79-254.dsl.ip.tiscali.nl (localhost [127.0.0.1]) by 82-168-79-254.dsl.ip.tiscali.nl (8.13.6/8.13.6) with ESMTP id k4QKvxoU033955 for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 May 2006 22:57:59 +0200 (CEST) (envelope-from rene@82-168-79-254.dsl.ip.tiscali.nl) Received: (from rene@localhost) by 82-168-79-254.dsl.ip.tiscali.nl (8.13.6/8.13.6/Submit) id k4QKvwg9033954; Fri, 26 May 2006 22:57:58 +0200 (CEST) (envelope-from rene) Message-Id: <200605262057.k4QKvwg9033954@82-168-79-254.dsl.ip.tiscali.nl> Date: Fri, 26 May 2006 22:57:58 +0200 (CEST) From: Rene Ladan <r.c.ladan@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Mailman-Approved-At: Fri, 26 May 2006 22:07:56 +0000 Cc: Subject: ports/97989: [MAINTAINER] devel/libusb: enable documentation X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs> List-Post: <mailto:freebsd-ports-bugs@freebsd.org> List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 26 May 2006 21:00:49 -0000 >Number: 97989 >Category: ports >Synopsis: [MAINTAINER] devel/libusb: enable documentation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri May 26 21:00:45 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rene Ladan >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD 82-168-79-254.dsl.ip.tiscali.nl 6.1-RELEASE FreeBSD 6.1-RELEASE #2: Sun May 7 11:56:20 CEST >Description: Unless NOPORTDOCS is defined, enable building and installing the SGML documentation describing the libusb develoeprs guide. Unresolved: the @dirrm entries in the generated +CONTENTS file appear after the fixed plist items instead of after the %%PORTDOCS%% part. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: diff -ruN /usr/ports/devel/libusb.orig/Makefile /usr/ports/devel/libusb/Makefile --- /usr/ports/devel/libusb.orig/Makefile Thu May 25 22:28:34 2006 +++ /usr/ports/devel/libusb/Makefile Fri May 26 22:53:33 2006 @@ -14,12 +14,27 @@ MAINTAINER= r.c.ladan@gmail.com COMMENT= Library giving userland programs access to USB devices +.if defined(NOPORTDOCS) CONFIGURE_ARGS= --disable-build-docs +.else +BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/jade/catalog:${PORTSDIR}/textproc/jade +BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/dsssl/modular/catalog:${PORTSDIR}/textproc/dsssl-docbook-modular +BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/catalog:${PORTSDIR}/textproc/docbook +MAKE_ENV+= SGML_CATALOG_FILES=${LOCALBASE}/share/sgml/jade/catalog:${LOCALBASE}/share/sgml/docbook/dsssl/modular/catalog:${LOCALBASE}/share/sgml/docbook/catalog:${LOCALBASE}/share/sgml/docbook/4.2/catalog +PORTDOCS= doc/html/* +.endif + INSTALLS_SHLIB= yes GNU_CONFIGURE= yes post-patch: @${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/descriptors.c + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR}/doc/html + @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/doc/html +.endif .include <bsd.port.mk> diff -ruN /usr/ports/devel/libusb.orig/pkg-plist /usr/ports/devel/libusb/pkg-plist --- /usr/ports/devel/libusb.orig/pkg-plist Wed Mar 29 08:53:05 2006 +++ /usr/ports/devel/libusb/pkg-plist Fri May 26 22:36:46 2006 @@ -12,3 +12,6 @@ lib/libusbpp.la lib/libusbpp.so libdata/pkgconfig/libusb.pc +%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/html +%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc +%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted: