Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 22:19:18 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333043 - head/sysutils/ddrescue
Message-ID:  <201311062219.rA6MJIRK069185@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Nov  6 22:19:18 2013
New Revision: 333043
URL: http://svnweb.freebsd.org/changeset/ports/333043

Log:
  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

Modified:
  head/sysutils/ddrescue/Makefile
  head/sysutils/ddrescue/distinfo

Modified: head/sysutils/ddrescue/Makefile
==============================================================================
--- head/sysutils/ddrescue/Makefile	Wed Nov  6 22:03:45 2013	(r333042)
+++ head/sysutils/ddrescue/Makefile	Wed Nov  6 22:19:18 2013	(r333043)
@@ -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
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+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} ${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>

Modified: head/sysutils/ddrescue/distinfo
==============================================================================
--- head/sysutils/ddrescue/distinfo	Wed Nov  6 22:03:45 2013	(r333042)
+++ head/sysutils/ddrescue/distinfo	Wed Nov  6 22:19:18 2013	(r333043)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311062219.rA6MJIRK069185>