mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
38 lines
1008 B
Makefile
38 lines
1008 B
Makefile
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dd_rescue
|
|
PORTVERSION= 1.46
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.garloff.de/kurt/linux/ddrescue/ \
|
|
http://fossies.org/unix/privat/
|
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
|
COMMENT= dd tool suitable for rescuing data from a medium with errors
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= autoreconf gmake
|
|
USE_CSTD= gnu89
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
ALL_TARGET= default
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
BROKEN_aarch64= Fails to link: undefined reference to find_nonzero_arm8
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dd_rescue ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libddr_hash.so ${STAGEDIR}${PREFIX}/lib
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libddr_null.so ${STAGEDIR}${PREFIX}/lib
|
|
${INSTALL_MAN} ${WRKSRC}/dd_rescue.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.dd_rescue ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|