1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

sysutils/ddrescue: update to 1.17

- Update to 1.17 [1]
- Allow staging

PR:		ports/182780 [1]
Submitted by:	Horia Racoviceanu <horia racoviceanu.com>
Approved by:	maintainer
This commit is contained in:
William Grzybowski 2013-11-06 22:19:18 +00:00
parent e1f7eae169
commit f77987f1cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333043
2 changed files with 19 additions and 18 deletions

View File

@ -2,16 +2,17 @@
# $FreeBSD$
PORTNAME= ddrescue
PORTVERSION= 1.16
PORTREVISION= 1
PORTVERSION= 1.17
CATEGORIES= sysutils
MASTER_SITES= GNU
EXTRACT_SUFX= .tar.lz
MAINTAINER= jharris@widomaker.com
COMMENT= Data recovery tool
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
EXTRACT_DEPENDS=lzip:${PORTSDIR}/archivers/lzip
OPTIONS_DEFINE= DOCS
@ -19,25 +20,25 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
MAN1= ddrescue.1 ddrescuelog.1
INFO= ddrescue
PORTDOCS= AUTHORS ChangeLog NEWS README
PLIST_FILES= bin/ddrescue bin/ddrescuelog
PLIST_FILES= bin/ddrescue \
bin/ddrescuelog \
man/man1/ddrescue.1.gz \
man/man1/ddrescuelog.1.gz
NO_STAGE= yes
.include <bsd.port.options.mk>
do-extract:
@${MKDIR} ${WRKDIR}
@${LOCALBASE}/bin/lzip -dc ${DISTDIR}/${DISTFILES} | \
${TAR} -x -f - -C ${WRKDIR} --no-same-owner --no-same-permissions
do-install:
.for i in ddrescue ddrescuelog
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${MAN1PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/ddrescue.info ${PREFIX}/${INFO_PATH}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
${INSTALL_DATA} ${WRKSRC}/doc/ddrescue.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (ddrescue-1.16.tar.gz) = 76b3f2e5fb0306d24f2632c3e168cccb73dc0a348e3a7089cd9230748ff23de6
SIZE (ddrescue-1.16.tar.gz) = 104691
SHA256 (ddrescue-1.17.tar.lz) = bef96c181b031cc7de9d02c0aec2e8dbf860d149fa2f35f967448a48ffd2752f
SIZE (ddrescue-1.17.tar.lz) = 64065