aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ddrescue
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-11-06 22:19:18 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-11-06 22:19:18 +0000
commitf77987f1cbd21eeac2fcbf67b3d23604a181b187 (patch)
treefec57ff4e89b2e7d47fc8d7cabc2911604277d2c /sysutils/ddrescue
parente1f7eae1693e554c95a7d98f1d009d84c8ae9952 (diff)
Notes
Diffstat (limited to 'sysutils/ddrescue')
-rw-r--r--sysutils/ddrescue/Makefile33
-rw-r--r--sysutils/ddrescue/distinfo4
2 files changed, 19 insertions, 18 deletions
diff --git a/sysutils/ddrescue/Makefile b/sysutils/ddrescue/Makefile
index 537a6f22414d..65582cf233fb 100644
--- a/sysutils/ddrescue/Makefile
+++ b/sysutils/ddrescue/Makefile
@@ -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
-.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}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.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>
diff --git a/sysutils/ddrescue/distinfo b/sysutils/ddrescue/distinfo
index 968cfc680619..1a73983df23c 100644
--- a/sysutils/ddrescue/distinfo
+++ b/sysutils/ddrescue/distinfo
@@ -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