freebsd-ports/sysutils/tw_cli/Makefile
Marcus Alves Grando 09aefa72ee tw_cli(8) is a Command Line Interface Storage Management Software for
AMCC/3ware ATA RAID Controllers, supported by twe(4) and twa(4) drivers.
It provides controller, logical unit and drive management. tw_cli can
be used in both interactive and batch mode, providing higher-level API
(Application Programming Interface) functionalities.

WWW:	http://3ware.com/support/download.asp

PR:		92843
Submitted by:	Dmitry Frolov <frolov@riss-telecom.ru>
2006-02-22 17:47:57 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: tw_cli
# Date created: 02/12/2005
# Whom: Dmitry Frolov <frolov@riss-telecom.ru>
#
# $FreeBSD$
#
PORTNAME= tw_cli
PORTVERSION= 9.3.0.3
CATEGORIES= sysutils
MASTER_SITES= http://3ware.com/download/Escalade9000Series/${PORTVERSION}/
DISTNAME= ${PORTNAME}-freebsd_5.4-${DIST_ARCH}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= frolov@riss-telecom.ru
COMMENT= 3ware storage controllers management CLI
RESTRICTED= Redistribution is not allowed
# i386 binary should work on ia64, but not tested
ONLY_FOR_ARCHS= i386 amd64 ia64
WRKSRC= ${WRKDIR}
NO_BUILD= yes
STRIP= # empty
PLIST_FILES= sbin/tw_cli sbin/tw_sched
PORTDOCS= tw_cli.8.html tw_sched.8.html
MAN8+= tw_cli.8 tw_sched.8
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
DIST_ARCH= x86_64
.else
DIST_ARCH= x86
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tw_cli ${WRKSRC}/tw_sched ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/tw_cli.8.nroff ${MANPREFIX}/man/man8/tw_cli.8
${INSTALL_MAN} ${WRKSRC}/tw_sched.8.nroff ${MANPREFIX}/man/man8/tw_sched.8
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tw_cli.8.html ${WRKSRC}/tw_sched.8.html \
${DOCSDIR}/
.endif
.include <bsd.port.post.mk>