From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 20 15:50:16 2003 Return-Path: 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 8466037B401 for ; Tue, 20 May 2003 15:50:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6A8C43F3F for ; Tue, 20 May 2003 15:50:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4KMoDUp024915 for ; Tue, 20 May 2003 15:50:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4KMoDiE024914; Tue, 20 May 2003 15:50:13 -0700 (PDT) Resent-Date: Tue, 20 May 2003 15:50:13 -0700 (PDT) Resent-Message-Id: <200305202250.h4KMoDiE024914@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, Sergei Kolobov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51AEE37B401 for ; Tue, 20 May 2003 15:44:05 -0700 (PDT) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id 3F8FA43FDD for ; Tue, 20 May 2003 15:44:03 -0700 (PDT) (envelope-from sgk@kolobov.com) Received: (qmail 75701 invoked from network); 20 May 2003 22:44:03 -0000 Received: from h166.lukarcos.com (HELO kolobov.com) (62.141.88.166) by outpost.globcon.net with SMTP; 20 May 2003 22:44:03 -0000 Received: (qmail 31130 invoked by uid 911); 20 May 2003 22:43:03 -0000 Message-Id: <20030520224302.31129.qmail@kolobov.com> Date: 20 May 2003 22:43:02 -0000 From: Sergei Kolobov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: jos@catnook.com Subject: ports/52502: [PATCH] devel/buildtool: install documentation X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 22:50:16 -0000 >Number: 52502 >Category: ports >Synopsis: [PATCH] devel/buildtool: install documentation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue May 20 15:50:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 5.1-BETA i386 >Organization: >Environment: System: FreeBSD elf.chetwood.ru 5.1-BETA FreeBSD 5.1-BETA #0: Wed May 7 18:28:22 MSD >Description: - Install some documentation - Respect NOPORTDOCS - Use HAS_CONFIGURE and CONFIGURE_ARGS instead of redefining do-configure target - Bump PORTREVISION Port maintainer - jos@catnook.com - has been copied. >How-To-Repeat: >Fix: --- buildtool-0.11_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/buildtool/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 2003/04/22 19:50:16 1.11 +++ Makefile 2003/05/20 22:39:54 @@ -7,6 +7,7 @@ PORTNAME= buildtool PORTVERSION= 0.11 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,10 +15,19 @@ MAINTAINER= jos@catnook.com COMMENT= A set of portable software build utilities +HAS_CONFIGURE= yes +CONFIGURE_ARGS= -p ${PREFIX} +.if defined(NOPORTDOCS) +CONFIGURE_ARGS+= -n doc +.endif + MAN1= buildtool.1 +DOCS= CHANGES PEOPLE README TODO -do-configure: - @cd ${WRKSRC} \ - && ./configure -p ${PREFIX} +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif .include Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/buildtool/pkg-plist,v retrieving revision 1.10 diff -u -r1.10 pkg-plist --- pkg-plist 2003/04/22 19:50:16 1.10 +++ pkg-plist 2003/05/20 22:39:54 @@ -39,6 +39,11 @@ @dirrm share/buildtool-0/licenses @dirrm share/buildtool-0/bt_config @dirrm share/buildtool-0 -@unexec install-info --delete %D/info/buildtool.info %D/info/dir -info/buildtool.info -@exec install-info %D/info/buildtool.info %D/info/dir +%%PORTDOCS%%@unexec install-info --delete %D/info/buildtool.info %D/info/dir +%%PORTDOCS%%info/buildtool.info +%%PORTDOCS%%@exec install-info %D/info/buildtool.info %D/info/dir +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/PEOPLE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- buildtool-0.11_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: