blob: 5cf191cabeebea300a7261d66d441a35d914bc96 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: SriSaiGanesh
# $FreeBSD$
PORTNAME= hpacucli
PORTVERSION= 7.50
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= LOCAL/brooks
MAINTAINER= ports@FreeBSD.org
COMMENT= HP configuration utility for Smart Array RAID cards
RUN_DEPENDS= compat4x-i386>0:${PORTSDIR}/misc/compat4x \
compat5x-${ARCH}>0:${PORTSDIR}/misc/compat5x
USES= tar:bzip2
NO_BUILD= yes
IA32_BINARY_PORT= yes
APP_PREFIX= ${PREFIX}/lib/compaq/hpacucli
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${APP_PREFIX}
${INSTALL_LIB} ${WRKSRC}/lib*.so ${STAGEDIR}${APP_PREFIX}
${INSTALL_PROGRAM} ${WRKSRC}/.${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
USE_LDCONFIG32= ${APP_PREFIX}
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000019
BROKEN= currently does not work on amd64 (see PR ports/128288)
. endif
.else
USE_LDCONFIG= ${APP_PREFIX}
.endif
.include <bsd.port.post.mk>
|