blob: 929964db66ab343863074449d372d79c609d5562 (
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
43
44
45
46
47
|
# New ports collection makefile for: linux-afaapps
# Date created: 6 October 2003
# Whom: bms@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= afaapps
PORTVERSION= 2.7
PORTREVISION= 4
CATEGORIES= sysutils linux
MASTER_SITES= ftp://ftp.us.dell.com/scsi-raid/
PKGNAMEPREFIX= linux-
DISTNAME= aacraid-util-rh8.0-${LINUX_RPM_ARCH}
DIST_SUBDIR= rpm
MAINTAINER= ports@FreeBSD.org
COMMENT= DELL PowerEdge Raid Controller 2 (apps)
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libartsc.so.0:${PORTSDIR}/audio/linux-arts
RESTRICTED= "binary redistribution license needs clarification"
USE_LINUX_RPM= yes
ONLY_FOR_ARCHS= i386 amd64
BRANDELF_FILES= usr/sbin/afacli
SRC_DISTFILES= # empty, no sources available
EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -dc
EXTRACT_AFTER_ARGS= | ${TAR} -xf -
EXTRACT_SUFX= .tar.gz
RPMFILE= ${PORTNAME}-${PORTVERSION}-2.${LINUX_RPM_ARCH}.rpm
.include <bsd.port.pre.mk>
post-extract:
@cd ${WRKDIR} && ${RPM2CPIO} ${RPMFILE} | ${CPIO} -id --quiet && \
${RM} ${RPMFILE} readme
build: configure
@${RM} -rf ${WRKDIR}/dev
@${RM} ${WRKDIR}/usr/sbin/afacli
@${MV} ${WRKDIR}/usr/sbin/afacli.bin ${WRKDIR}/usr/sbin/afacli
.include <bsd.port.post.mk>
|