aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorArmin Pirkovitsch <sperber@FreeBSD.org>2012-07-19 17:42:21 +0000
committerArmin Pirkovitsch <sperber@FreeBSD.org>2012-07-19 17:42:21 +0000
commit8323f8c880b5e804d39c3f1f5c007c20e4df8974 (patch)
treed50635e39b12c0ddf9dafeb9dc0d223fb6b923c7 /sysutils
parent3e05a9a5ca4831b6dce9127c67a07f1519cc3cba (diff)
downloadports-8323f8c880b5e804d39c3f1f5c007c20e4df8974.tar.gz
ports-8323f8c880b5e804d39c3f1f5c007c20e4df8974.zip
Notes
Diffstat (limited to 'sysutils')
-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 $@ $<