aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ddrescue
diff options
context:
space:
mode:
authorsperber <sperber@FreeBSD.org>2012-07-20 01:42:21 +0800
committersperber <sperber@FreeBSD.org>2012-07-20 01:42:21 +0800
commit2a1fbc7bd0ed8d996e432ffcd0601ff27b670175 (patch)
treed50635e39b12c0ddf9dafeb9dc0d223fb6b923c7 /sysutils/ddrescue
parentd4b8653bd049945bb231479a70de2542c5e6f373 (diff)
downloadfreebsd-ports-gnome-2a1fbc7bd0ed8d996e432ffcd0601ff27b670175.tar.gz
freebsd-ports-gnome-2a1fbc7bd0ed8d996e432ffcd0601ff27b670175.tar.zst
freebsd-ports-gnome-2a1fbc7bd0ed8d996e432ffcd0601ff27b670175.zip
- Update to version 1.16
- Switch to optionsng PR: ports/169422 Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com> Approved by: beat (mentor)
Diffstat (limited to 'sysutils/ddrescue')
-rw-r--r--sysutils/ddrescue/Makefile13
-rw-r--r--sysutils/ddrescue/distinfo4
-rw-r--r--sysutils/ddrescue/files/patch-Makefile.in23
3 files changed, 13 insertions, 27 deletions
diff --git a/sysutils/ddrescue/Makefile b/sysutils/ddrescue/Makefile
index c99bcc5f251a..162a254adcad 100644
--- a/sysutils/ddrescue/Makefile
+++ b/sysutils/ddrescue/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= ddrescue
-PORTVERSION= 1.15
+PORTVERSION= 1.16
CATEGORIES= sysutils
MASTER_SITES= GNU
+EXTRACT_SUFX= .tar.lz
MAINTAINER= ports@FreeBSD.org
COMMENT= Data recovery tool
@@ -16,6 +17,12 @@ COMMENT= Data recovery tool
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
+EXTRACT_DEPENDS=lzip:${PORTSDIR}/archivers/lzip
+
+EXTRACT_CMD= ${LOCALBASE}/bin/lzip
+
+OPTIONS_DEFINE= DOCS
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
@@ -26,6 +33,8 @@ INFO= ddrescue
PORTDOCS= AUTHORS ChangeLog NEWS README
PLIST_FILES= bin/ddrescue bin/ddrescuelog
+.include <bsd.port.options.mk>
+
do-install:
.for i in ddrescue ddrescuelog
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
@@ -34,7 +43,7 @@ do-install:
.for i in ddrescue
${INSTALL_DATA} ${WRKSRC}/doc/${i}.info ${PREFIX}/${INFO_PATH}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
diff --git a/sysutils/ddrescue/distinfo b/sysutils/ddrescue/distinfo
index d27a1cfb7362..cedee6a2de17 100644
--- a/sysutils/ddrescue/distinfo
+++ b/sysutils/ddrescue/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ddrescue-1.15.tar.gz) = 75e01362005ba5b59a275edd9d012229b43e0b56533c2abb89d40a44d7ec2d78
-SIZE (ddrescue-1.15.tar.gz) = 99082
+SHA256 (ddrescue-1.16.tar.lz) = 47ff778de4ff75a7e796c717e68fcef2000fe3ca25f824d3063259ebf930a65e
+SIZE (ddrescue-1.16.tar.lz) = 61763
diff --git a/sysutils/ddrescue/files/patch-Makefile.in b/sysutils/ddrescue/files/patch-Makefile.in
deleted file mode 100644
index 3c987301da10..000000000000
--- a/sysutils/ddrescue/files/patch-Makefile.in
+++ /dev/null
@@ -1,23 +0,0 @@
---- Makefile.in.orig 2011-11-22 22:09:38.000000000 +0900
-+++ Makefile.in 2012-01-07 05:34:41.000000000 +0900
-@@ -18,16 +18,16 @@
- all : $(progname) ddrescuelog
-
- $(progname) : $(objs)
-- $(CXX) $(LDFLAGS) -o $@ $^
-+ $(CXX) $(LDFLAGS) -o $@ $(objs)
-
- $(progname)_profiled : $(objs)
-- $(CXX) $(LDFLAGS) -pg -o $@ $^
-+ $(CXX) $(LDFLAGS) -pg -o $@ $(objs)
-
- ddrescuelog : $(logobjs)
-- $(CXX) $(LDFLAGS) -o $@ $^
-+ $(CXX) $(LDFLAGS) -o $@ $(logobjs)
-
- static_$(progname) : $(objs)
-- $(CXX) $(LDFLAGS) -static -o $@ $^
-+ $(CXX) $(LDFLAGS) -static -o $@ $(objs)
-
- main.o : main.cc
- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DPROGVERSION=\"$(pkgversion)\" -c -o $@ $<