aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/ddrescue/Makefile30
-rw-r--r--sysutils/ddrescue/distinfo6
2 files changed, 17 insertions, 19 deletions
diff --git a/sysutils/ddrescue/Makefile b/sysutils/ddrescue/Makefile
index 22546ee38b77..7409ef0a27fe 100644
--- a/sysutils/ddrescue/Makefile
+++ b/sysutils/ddrescue/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ddrescue
-DISTVERSION= 1.11
+PORTVERSION= 1.12
CATEGORIES= sysutils
MASTER_SITES= GNU
@@ -14,25 +14,23 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Data recovery tool
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}"\
+CONFIGURE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
-USE_GZIP= yes
-PLIST_FILES= bin/${PORTNAME}
-MAN1= ${PORTNAME}.1
-INFO= ${PORTNAME}
-PORTDOCS= AUTHORS ChangeLog NEWS README
-post-patch:
- @${REINPLACE_CMD} -e 's|LONG_LONG|LLONG|' \
- ${WRKSRC}/main.cc ${WRKSRC}/rescuebook.cc
+MAN1= ${PORTNAME}.1
+INFO= ${PORTNAME}
+PORTDOCS= AUTHORS ChangeLog NEWS README
+PLIST_FILES= bin/${PORTNAME}
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- @${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
- @${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.info ${PREFIX}/${INFO_PATH}/
-.ifndef NOPORTDOCS
- @${INSTALL} -d ${DOCSDIR}/
- @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.info ${PREFIX}/${INFO_PATH}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/sysutils/ddrescue/distinfo b/sysutils/ddrescue/distinfo
index c18b005886a5..43cf7c3d110f 100644
--- a/sysutils/ddrescue/distinfo
+++ b/sysutils/ddrescue/distinfo
@@ -1,3 +1,3 @@
-MD5 (ddrescue-1.11.tar.gz) = 7146046bb1851351d1337bb1f5b4e903
-SHA256 (ddrescue-1.11.tar.gz) = f7772231a8801a4fafd2ea62bbbbfa96f9cbb5bfb63ed5ba58d544bb129aa622
-SIZE (ddrescue-1.11.tar.gz) = 50259
+MD5 (ddrescue-1.12.tar.gz) = b3d8a9a9098b87939fba05a45848bd8d
+SHA256 (ddrescue-1.12.tar.gz) = 585b288bb16868ea94e412446f10760ac7b159e00372cf76daf3b6f3a839a151
+SIZE (ddrescue-1.12.tar.gz) = 62581