freebsd-ports/sysutils/ddrescue/Makefile
Gerald Pfeifer bf754897d7 Update to ddrescue version 1.22, which includes the following changes:
- Option '-X, --exit-on-error' has been replaced by '-X, --max-read-errors'.
 - New options --max-slow-reads, --delay-slow, --reset-slow,
   --log-events, --mapfile-interval, --pause-on-error.
 - Option --pause has been renamed to --pause-on-pass.
 - Option --max-errors has been renamed to --max-bad-areas.
 - Rescuebook shows read_errors, error_rate and slow_reads.
 - Two new passes (3 and 4) added to the copying phase.
 - Option '-K, --skip-size' now accepts sizes up to 1 EiB.
 - Initial skip size now defaults to (infile_size / 100_000).
 - Options --ask and -vv now show size along with model and serial number.
 - New option '-A, --annotate-mapfile' for ddrescuelog.
 - Plus various cleanups and tweaks.

Approved by:	maintainer (Jason Harris <jharris@widomaker.com>)
2017-04-30 17:11:56 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= ddrescue
PORTVERSION= 1.22
CATEGORIES= sysutils
MASTER_SITES= GNU
EXTRACT_SUFX= .tar.lz
MAINTAINER= jharris@widomaker.com
COMMENT= Data recovery tool
LICENSE= GPLv2
EXTRACT_DEPENDS=lzip:archivers/lzip
OPTIONS_DEFINE= DOCS
HAS_CONFIGURE= yes
CONFIGURE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
INFO= ddrescue
PORTDOCS= AUTHORS ChangeLog NEWS README
PLIST_FILES= bin/ddrescue \
bin/ddrescuelog \
man/man1/ddrescue.1.gz \
man/man1/ddrescuelog.1.gz
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} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/ddrescue.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>