diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-24 17:36:13 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-24 17:36:13 +0800 |
commit | 84cee7920ff743a93bbdcab26089ef2c9d47ccb3 (patch) | |
tree | 1b816abea7d7bf540124ba182d94a214e6cae0fe /sysutils/linux-afaapps | |
parent | 5181ed3fb9673494e5117072715064be4153c5a0 (diff) | |
download | freebsd-ports-gnome-84cee7920ff743a93bbdcab26089ef2c9d47ccb3.tar.gz freebsd-ports-gnome-84cee7920ff743a93bbdcab26089ef2c9d47ccb3.tar.zst freebsd-ports-gnome-84cee7920ff743a93bbdcab26089ef2c9d47ccb3.zip |
Fix extraction
Reported by: pointyhat (droso)
Diffstat (limited to 'sysutils/linux-afaapps')
-rw-r--r-- | sysutils/linux-afaapps/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sysutils/linux-afaapps/Makefile b/sysutils/linux-afaapps/Makefile index bf022e706fe1..cb01d4c9be4c 100644 --- a/sysutils/linux-afaapps/Makefile +++ b/sysutils/linux-afaapps/Makefile @@ -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> |