- 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
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# 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/
|
|
DISTNAME= cli_freebsd_10.2.1_9.5.4
|
|
|
|
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
|
|
|
|
USE_ZIP= yes
|
|
WRKSRC= ${WRKDIR}
|
|
NO_BUILD= yes
|
|
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.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${BINSUFFIX}/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 ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/tw_cli.8.html ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|