Date: Sun, 26 May 2013 20:02:15 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319132 - head/sysutils/cw Message-ID: <201305262002.r4QK2Fvh057396@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Sun May 26 20:02:15 2013 New Revision: 319132 URL: http://svnweb.freebsd.org/changeset/ports/319132 Log: . trim Makefile headers; . remove the indefinite article from COMMENT; . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . define PORTDOCS at Makefile; . remove port docs from pkg-plist; . indent .for loop inside .if statement. Modified: head/sysutils/cw/Makefile head/sysutils/cw/pkg-plist Modified: head/sysutils/cw/Makefile ============================================================================== --- head/sysutils/cw/Makefile Sun May 26 19:36:04 2013 (r319131) +++ head/sysutils/cw/Makefile Sun May 26 20:02:15 2013 (r319132) @@ -1,9 +1,5 @@ -# New ports collection makefile for: cw -# Date created: 4 December 2006 -# Whom: Dryice Liu <dryice@dryice.name> -# +# Created by: Dryice Liu <dryice@dryice.name> # $FreeBSD$ -# PORTNAME= cw PORTVERSION= 1.0.16 @@ -12,19 +8,24 @@ MASTER_SITES= http://cwrapper.sourceforg http://www.fakehalo.us/cw/ MAINTAINER= ports@FreeBSD.org -COMMENT= A non-intrusive color wrapper for common commands +COMMENT= Non-intrusive color wrapper for common commands GNU_CONFIGURE= yes MANCOMPRESSED= yes MAN1= cw.1 cwe.1 cwu.1 +OPTIONS_DEFINE= DOCS +PORTDOCS= * + +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in CHANGES CONTRIB FILES INSTALL PLATFORM README VERSION +. for file in CHANGES CONTRIB FILES INSTALL PLATFORM README VERSION ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor +. endfor .endif .include <bsd.port.mk> Modified: head/sysutils/cw/pkg-plist ============================================================================== --- head/sysutils/cw/pkg-plist Sun May 26 19:36:04 2013 (r319131) +++ head/sysutils/cw/pkg-plist Sun May 26 20:02:15 2013 (r319132) @@ -121,13 +121,5 @@ lib/cw/wc lib/cw/whereis lib/cw/who lib/cw/xferlog@ -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/CONTRIB -%%PORTDOCS%%%%DOCSDIR%%/FILES -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/PLATFORM -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/VERSION -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm lib/cw/etc @dirrm lib/cw
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305262002.r4QK2Fvh057396>