2013-03-19 01:19:49 +01:00
|
|
|
# Created by: SriSaiGanesh
|
2008-03-18 17:03:07 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2013-03-19 09:06:34 +01:00
|
|
|
PORTNAME= hpacucli
|
|
|
|
PORTVERSION= 7.50
|
2015-06-23 18:33:46 +02:00
|
|
|
PORTREVISION= 4
|
2013-03-19 09:06:34 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= LOCAL/brooks
|
2008-03-18 17:03:07 +01:00
|
|
|
|
2013-03-19 09:06:34 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= HP configuration utility for Smart Array RAID cards
|
2008-03-18 17:03:07 +01:00
|
|
|
|
2018-02-01 06:28:21 +01:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
|
|
ONLY_FOR_ARCHS_REASON= relies on compatXx features that are x86-specific
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
RUN_DEPENDS= compat4x-i386>0:misc/compat4x \
|
|
|
|
compat5x-${ARCH}>0:misc/compat5x
|
2013-03-19 09:06:34 +01:00
|
|
|
|
2014-06-27 04:07:05 +02:00
|
|
|
USES= tar:bzip2
|
2013-03-19 09:06:34 +01:00
|
|
|
NO_BUILD= yes
|
2008-03-18 17:03:07 +01:00
|
|
|
IA32_BINARY_PORT= yes
|
|
|
|
|
2013-03-19 09:06:34 +01:00
|
|
|
APP_PREFIX= ${PREFIX}/lib/compaq/hpacucli
|
2008-03-18 17:03:07 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
2014-06-27 04:07:05 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${APP_PREFIX}
|
2015-06-23 18:33:46 +02:00
|
|
|
${INSTALL_LIB} ${WRKSRC}/lib*.so ${STAGEDIR}${APP_PREFIX}
|
2014-06-27 04:07:05 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/.${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
2008-03-18 17:03:07 +01:00
|
|
|
|
2009-01-28 10:23:09 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == amd64
|
2013-03-19 09:06:34 +01:00
|
|
|
USE_LDCONFIG32= ${APP_PREFIX}
|
2009-01-28 10:23:09 +01:00
|
|
|
.else
|
2013-03-19 09:06:34 +01:00
|
|
|
USE_LDCONFIG= ${APP_PREFIX}
|
2009-01-28 10:23:09 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|