aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hpacucli/Makefile
blob: 19ff01c13d277bdffe3c7d0b92d26ce5e54b5550 (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
# New ports collection makefile for: HPACUCLI
# Date created: 28 October 2007
# Whom: SriSaiGanesh
#
# $FreeBSD$
#

PORTNAME=		hpacucli
PORTVERSION=		7.50
PORTREVISION=		2
CATEGORIES=		sysutils
MASTER_SITES=		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	brooks
DISTNAME=		hpacucli-${PORTVERSION}

MAINTAINER=		v.sri.sai.ganesh@hp.com
COMMENT=		HP ARRAY CONFIGURATION UTILITY for Smart Array RAID cards

USE_BZIP2=		yes
NO_BUILD=		yes
IA32_BINARY_PORT=	yes

LIB_DEPENDS+=		c.4:${PORTSDIR}/misc/compat4x
LIB_DEPENDS+=		c.5:${PORTSDIR}/misc/compat5x

APP_PREFIX=		lib/compaq/hpacucli
USE_LDCONFIG=		${PREFIX}/${APP_PREFIX}

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${PORTNAME}

do-install:
	@${MKDIR} -m 0755 -p ${PREFIX}/${APP_PREFIX}
	@${CP} ${WRKSRC}/lib* ${PREFIX}/${APP_PREFIX}/
	@${INSTALL_PROGRAM} ${WRKSRC}/.${PORTNAME} ${PREFIX}/libexec/
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/

.include <bsd.port.mk>