blob: abfb0f5d113c5fa6f87f13f7c155a5d5f20dda23 (
plain)
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
43
44
45
46
47
48
49
|
# New ports collection makefile for: linux-afaapps
# Date created: 6 October 2003
# Whom: bms@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= afaapps
PORTVERSION= 2.7
PORTREVISION= 1
CATEGORIES= sysutils linux
MASTER_SITES= ftp://ftp.us.dell.com/scsi-raid/
PKGNAMEPREFIX= linux-
DISTNAME= aacraid-util-rh8.0-${MACHINE_ARCH}
MAINTAINER= bms@FreeBSD.org
COMMENT= DELL PowerEdge Raid Controller 2 (apps)
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libartsc.so.0:${PORTSDIR}/audio/linux-arts \
${LINUXBASE}/usr/lib/libncurses.so.5:${PORTSDIR}/emulators/linux_base-8
RESTRICTED= "binary redistribution license needs clarification"
NO_BUILD= yes
NO_WRKSUBDIR= yes
PREFIX?= ${LINUXBASE}
NO_MTREE= yes
LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
ONLY_FOR_ARCHS= i386
NO_FILTER_SHLIBS= yes
PLIST= ${MASTERDIR}/pkg-plist.${MACHINE_ARCH}
MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
RPMFILE= ${PORTNAME}-${PORTVERSION}-2.${MACHINE_ARCH}.rpm
DBPATH= /var/lib/rpm
RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
--nodeps --replacepkgs --noscripts
do-install:
@${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${WRKDIR}/${RPMFILE}
@${RM} ${LINUXBASE}/usr/sbin/afacli
@${MV} ${LINUXBASE}/usr/sbin/afacli.bin ${LINUXBASE}/usr/sbin/afacli
@${LDCONFIG_LINUX}
.include <bsd.port.mk>
|