Date: 20 May 2003 22:43:02 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jos@catnook.com Subject: ports/52502: [PATCH] devel/buildtool: install documentation Message-ID: <20030520224302.31129.qmail@kolobov.com> Resent-Message-ID: <200305202250.h4KMoDiE024914@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030520224302.31129.qmail>