- Update to version 1.16

- Switch to optionsng

PR:           ports/169422
Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
Approved by:  beat (mentor)
This commit is contained in:
Armin Pirkovitsch 2012-07-19 17:42:21 +00:00
parent 3e05a9a5ca
commit 8323f8c880
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301179
3 changed files with 13 additions and 27 deletions

View File

@ -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}

View File

@ -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

View File

@ -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 $@ $<