Date: Fri, 26 Oct 2012 05:17:21 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306415 - head/sysutils/tw_cli Message-ID: <201210260517.q9Q5HLFP027485@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <takefu@airport.fm> 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 <frolov@riss-telecom.ru> -# +# Created by: Dmitry Frolov <frolov@riss-telecom.ru> # $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 <bsd.port.pre.mk> +.include <bsd.port.options.mk> 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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210260517.q9Q5HLFP027485>