From owner-svn-ports-all@FreeBSD.ORG Fri Oct 26 05:17:22 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 452932FE; Fri, 26 Oct 2012 05:17:22 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0E2DA8FC0C; Fri, 26 Oct 2012 05:17:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9Q5HLCV027489; Fri, 26 Oct 2012 05:17:21 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9Q5HLFP027485; Fri, 26 Oct 2012 05:17:21 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201210260517.q9Q5HLFP027485@svn.freebsd.org> From: "Jason E. Hale" Date: Fri, 26 Oct 2012 05:17:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306415 - head/sysutils/tw_cli X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 05:17:22 -0000 Author: jhale Date: Fri Oct 26 05:17:21 2012 New Revision: 306415 URL: http://svn.freebsd.org/changeset/ports/306415 Log: - Use USE_ZIP - Fix typo in BINSUFFIX - Fix whitespace - Trim Makefile header While here: - Convert to new options framework PR: ports/172536 Submitted by: Takefu Approved by: maintainer timeout (17 days) makc, avilla (mentors, implicit) Feature safe: yes Modified: head/sysutils/tw_cli/Makefile Modified: head/sysutils/tw_cli/Makefile ============================================================================== --- head/sysutils/tw_cli/Makefile Fri Oct 26 04:35:20 2012 (r306414) +++ head/sysutils/tw_cli/Makefile Fri Oct 26 05:17:21 2012 (r306415) @@ -1,16 +1,11 @@ -# New ports collection makefile for: tw_cli -# Date created: 02/12/2005 -# Whom: Dmitry Frolov -# +# Created by: Dmitry Frolov # $FreeBSD$ -# PORTNAME= tw_cli PORTVERSION= 9.5.4 CATEGORIES= sysutils -MASTER_SITES= ftp://tsupport:tsupport@ftp0.lsil.com/private/3Ware/downloads/ +MASTER_SITES= ftp://tsupport:tsupport@ftp0.lsil.com/private/3Ware/downloads/ DISTNAME= cli_freebsd_10.2.1_9.5.4 -EXTRACT_SUFX= .zip MAINTAINER= jpaetzel@FreeBSD.org COMMENT= 3ware storage controllers management CLI @@ -19,14 +14,15 @@ RESTRICTED= Redistribution is not allowe # i386 binary should work on ia64, but not tested ONLY_FOR_ARCHS= i386 amd64 ia64 +USE_ZIP= yes WRKSRC= ${WRKDIR} NO_BUILD= yes -BINSUFFIX= ${ARCH:S,i386,x86,:S,amd64,x86_64,:S,ia64,X86,} +BINSUFFIX= ${ARCH:S,i386,x86,:S,amd64,x86_64,:S,ia64,x86,} SUB_FILES+= 407.status-3ware-raid PORTDOCS= tw_cli.8.html MAN8+= tw_cli.8 -.include +.include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${BINSUFFIX}/tw_cli ${PREFIX}/sbin/ @@ -36,9 +32,9 @@ do-install: ${PREFIX}/etc/periodic/daily/ post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tw_cli.8.html ${DOCSDIR}/ .endif -.include +.include