mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
98725acdb4
Warning: sysutils/hpacucli dependency on misc/compat4x has wrong PKGNAME of 'compat4x-i386' but should be 'compat4x-aarch64' Reported by: emaste
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# 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
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
ONLY_FOR_ARCHS_REASON= relies on compatXx features that are x86-specific
|
|
|
|
RUN_DEPENDS= compat4x-i386>0:misc/compat4x \
|
|
${RUN_DEPENDS_${ARCH}}
|
|
RUN_DEPENDS_i386= compat5x-i386>0:misc/compat5x
|
|
RUN_DEPENDS_amd64= compat5x-amd64>0: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}
|
|
.else
|
|
USE_LDCONFIG= ${APP_PREFIX}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|