1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/sysutils/ddrescue/Makefile
Armin Pirkovitsch 8323f8c880 - Update to version 1.16
- Switch to optionsng

PR:           ports/169422
Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
Approved by:  beat (mentor)
2012-07-19 17:42:21 +00:00

54 lines
1.1 KiB
Makefile

# New ports collection makefile for: ddrescue
# Date created: 16 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ddrescue
PORTVERSION= 1.16
CATEGORIES= sysutils
MASTER_SITES= GNU
EXTRACT_SUFX= .tar.lz
MAINTAINER= ports@FreeBSD.org
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}"
MAKE_JOBS_SAFE= yes
MAN1= ddrescue.1 ddrescuelog.1
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
${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${MAN1PREFIX}/man/man1
.endfor
.for i in ddrescue
${INSTALL_DATA} ${WRKSRC}/doc/${i}.info ${PREFIX}/${INFO_PATH}
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>