From owner-svn-ports-head@FreeBSD.ORG Sun May 26 20:02:16 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 64932BC; Sun, 26 May 2013 20:02:16 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFCFAEF; Sun, 26 May 2013 20:02:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4QK2Gpx057398; Sun, 26 May 2013 20:02:16 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4QK2Fvh057396; Sun, 26 May 2013 20:02:15 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201305262002.r4QK2Fvh057396@svn.freebsd.org> From: Boris Samorodov Date: Sun, 26 May 2013 20:02:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319132 - head/sysutils/cw X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 20:02:16 -0000 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 -# +# Created by: Dryice Liu # $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 + 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 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