- Update GNU ddrescue to version 1.24

- Move OPTIONS_DEFINE below all other knobs
- Use options helper target to install docs

Approved by:	maintainer
This commit is contained in:
Alexey Dokuchaev 2019-03-18 17:28:08 +00:00
parent cb5d40f318
commit c5d3ac8294
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496154
2 changed files with 8 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ddrescue
PORTVERSION= 1.23
PORTVERSION= 1.24
CATEGORIES= sysutils
MASTER_SITES= GNU
EXTRACT_SUFX= .tar.lz
@ -14,8 +14,6 @@ LICENSE= GPLv2
EXTRACT_DEPENDS=lzip:archivers/lzip
OPTIONS_DEFINE= DOCS
HAS_CONFIGURE= yes
CONFIGURE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
@ -27,6 +25,8 @@ PLIST_FILES= bin/ddrescue \
man/man1/ddrescue.1.gz \
man/man1/ddrescuelog.1.gz
OPTIONS_DEFINE= DOCS
do-extract:
@${MKDIR} ${WRKDIR}
@${LOCALBASE}/bin/lzip -dc ${DISTDIR}/${DISTFILES} | \
@ -38,6 +38,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/ddrescue.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1550379281
SHA256 (ddrescue-1.23.tar.lz) = a9ae2dd44592bf386c9c156a5dacaeeb901573c9867ada3608f887d401338d8d
SIZE (ddrescue-1.23.tar.lz) = 82451
TIMESTAMP = 1551106914
SHA256 (ddrescue-1.24.tar.lz) = 4b5d3feede70e3657ca6b3c7844f23131851cbb6af0cecc9721500f7d7021087
SIZE (ddrescue-1.24.tar.lz) = 85244