freebsd-ports/sysutils/hptcli/Makefile
William Grzybowski 5ca1586219 sysutils/hptcli: HighPoint storage controllers management CLI
Command Line Interface (CLI) for HighPoint Technologies raid management

WWW: http://www.highpoint-tech.com/USA_new/cs-service_support.htm
2014-01-07 13:31:52 +00:00

38 lines
1.1 KiB
Makefile

# Created by: William Grzybowski <wg@FreeBSD.org>
# $FreeBSD$
PORTNAME= hptcli
PORTVERSION= 3.6
CATEGORIES= sysutils
MASTER_SITES= http://www.highpoint-tech.com/BIOS_Driver/HRM/FreeBSD/
DISTNAME= CLI-FreeBSD-3.6-1-120913
MAINTAINER= wg@FreeBSD.org
COMMENT= HighPoint storage controllers management CLI
EXTRACT_SUFX= .tgz
RESTRICTED= Redistribution is not allowed
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}
NO_BUILD= yes
post-extract:
cd ${WRKDIR} && ${TAR} -xf hptraidconf-3.6-1.tbz && \
${TAR} -xf hptsvr-3.6-1.tbz
.include <bsd.port.pre.mk>
do-install:
#@${MKDIR} ${STAGEDIR}${PREFIX}
${INSTALL_MAN} ${WRKSRC}/hptraidconf.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.if ${ARCH} == "i386"
${INSTALL_DATA} ${WRKSRC}/hptraidconf-8.0 ${STAGEDIR}${PREFIX}/bin/hptraidconf
${INSTALL_DATA} ${WRKSRC}/hptsvr-3.6/hptsvr-8.0 ${STAGEDIR}${PREFIX}/sbin/hptsvr
.else
${INSTALL_DATA} ${WRKSRC}/hptraidconf-8.0.amd64 ${STAGEDIR}${PREFIX}/bin/hptraidconf
${INSTALL_DATA} ${WRKSRC}/hptsvr-3.6/hptsvr-8.0.amd64 ${STAGEDIR}${PREFIX}/sbin/hptsvr
.endif
.include <bsd.port.post.mk>