summaryrefslogtreecommitdiff
path: root/sysutils/linux-megacli
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-megacli
parent- Respect X11BASE (diff)
- Try different approach: move extracting to post-extract target
Submitted by: Ruben van Staveren <ruben@verweg.com> (maintainer)
Notes
Notes: svn path=/head/; revision=178682
Diffstat (limited to 'sysutils/linux-megacli')
-rw-r--r--sysutils/linux-megacli/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/linux-megacli/Makefile b/sysutils/linux-megacli/Makefile
index 9545bc8f6763..c94a0cf7bff8 100644
--- a/sysutils/linux-megacli/Makefile
+++ b/sysutils/linux-megacli/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: