7639d96e9a
PR: ports/141643 Submitted by: Martin Matuska <mm@FreeBSD.org> Approved by: itetcu@ (mentor)
50 lines
1.2 KiB
Makefile
50 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.5.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://3ware.com/download/Escalade9690SA-Series/${PORTVERSION}/
|
|
DISTNAME= ${PORTNAME}-freebsd-${DIST_ARCH}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= jpaetzel@FreeBSD.org
|
|
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
|
|
SUB_FILES+= 407.status-3ware-raid
|
|
PORTDOCS= tw_cli.8.html
|
|
MAN8+= tw_cli.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 ${PREFIX}/sbin/
|
|
${INSTALL_MAN} ${WRKSRC}/tw_cli.8.nroff ${MANPREFIX}/man/man8/tw_cli.8
|
|
@${MKDIR} ${PREFIX}/etc/periodic/daily
|
|
${INSTALL_SCRIPT} ${WRKDIR}/407.status-3ware-raid \
|
|
${PREFIX}/etc/periodic/daily/
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/tw_cli.8.html ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|