freebsd-ports/sysutils/linux-afaapps/Makefile
Pav Lucistnik 1a86edeccc - Fix install
- Fix plist

Pointy hat to:	netchild
2007-07-04 20:44:54 +00:00

46 lines
1.1 KiB
Makefile

# 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
${RM} -rf ${WRKDIR}/dev
${RM} ${WRKDIR}/usr/sbin/afacli
${MV} ${WRKDIR}/usr/sbin/afacli.bin ${WRKDIR}/usr/sbin/afacli
.include <bsd.port.post.mk>