svn commit: r318937 - head/sysutils/linux-afaapps
Baptiste Daroussin
bapt at FreeBSD.org
Fri May 24 09:36:14 UTC 2013
Author: bapt
Date: Fri May 24 09:36:13 2013
New Revision: 318937
URL: http://svnweb.freebsd.org/changeset/ports/318937
Log:
Fix extraction
Reported by: pointyhat (droso)
Modified:
head/sysutils/linux-afaapps/Makefile
Modified: head/sysutils/linux-afaapps/Makefile
==============================================================================
--- head/sysutils/linux-afaapps/Makefile Fri May 24 09:11:48 2013 (r318936)
+++ head/sysutils/linux-afaapps/Makefile Fri May 24 09:36:13 2013 (r318937)
@@ -15,6 +15,8 @@ COMMENT= DELL PowerEdge Raid Controller
RESTRICTED= binary redistribution license needs clarification
+EXTRACT_SUFX= .tar.gz
+
USE_LINUX_RPM= yes
USE_LINUX_APPS= arts
ONLY_FOR_ARCHS= i386 amd64
@@ -22,14 +24,9 @@ BRANDELF_FILES= usr/sbin/afacli
SRC_DISTFILES= # empty, no sources available
RPMFILE= ${PORTNAME}-${PORTVERSION}-2.${LINUX_RPM_ARCH}.rpm
-
-.include <bsd.port.pre.mk>
+EXTRACT_AFTER_ARGS= -O ${RPMFILE} | ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} - ./usr/sbin/afacli.bin ./usr/sbin/getcfg.afa
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
+ @${MV} ${WRKDIR}/usr/sbin/afacli.bin ${WRKDIR}/usr/sbin/afacli
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list