aboutsummaryrefslogtreecommitdiff
path: root/sysutils/linux-megacli2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-12-03 14:21:55 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-12-03 14:21:55 +0000
commit1e69ff98b37456d1b7e948f78fd081f22cd4f0a8 (patch)
treee4167ff2dacb6ce0c622512e9e30ba7ccc224099 /sysutils/linux-megacli2
parent3c7c93817dcb375f5e9955f61401c0d68dfcd2e8 (diff)
downloadports-1e69ff98b37456d1b7e948f78fd081f22cd4f0a8.tar.gz
ports-1e69ff98b37456d1b7e948f78fd081f22cd4f0a8.zip
Notes
Diffstat (limited to 'sysutils/linux-megacli2')
-rw-r--r--sysutils/linux-megacli2/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/linux-megacli2/Makefile b/sysutils/linux-megacli2/Makefile
index 9545bc8f6763..c94a0cf7bff8 100644
--- a/sysutils/linux-megacli2/Makefile
+++ b/sysutils/linux-megacli2/Makefile
@@ -15,9 +15,6 @@ DISTNAME= Linux_MegaCli_${PORTVERSION}
MAINTAINER= ruben@verweg.com
COMMENT= LSI MegaRAID SAS controller management utility
-BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
- ${RPM2CPIO}:${PORTSDIR}/archivers/rpm
-
NO_WRKSUBDIR= yes
USE_ZIP= yes
RESTRICTED= Redistribution prohibited, see: http://lsi.com/cm/License.do
@@ -29,10 +26,12 @@ SUB_FILES= megacli.sh
RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio
EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm
-do-build:
+post-extract:
@cd ${WRKSRC} && \
${UNZIP_CMD} MegaCliLin.zip && \
${RPM2CPIO} MegaCli-${PORTVERSION}-0.i386.rpm | ${CPIO} -id --quiet
+
+do-build:
@${BRANDELF} -t Linux ${WRKSRC}/usr/sbin/MegaCli
do-install: