mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
Fix extraction
Reported by: pointyhat (droso)
This commit is contained in:
parent
dfd33acdf2
commit
14ef500517
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318937
1 changed files with 5 additions and 8 deletions
|
@ -15,6 +15,8 @@ COMMENT= DELL PowerEdge Raid Controller 2 (apps)
|
|||
|
||||
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>
|
||||
|
|
Loading…
Add table
Reference in a new issue