1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/sysutils/testdisk/Makefile
Florent Thoumie 166961ab39 - Update to 6.1.
- Bump libntfs version.
2005-10-11 15:50:54 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: testdisk
# Date created: Feb 28 2004
# Whom: Florent Thoumie <flz@xbsd.org>
#
# $FreeBSD$
#
PORTNAME= testdisk
PORTVERSION= 6.1
CATEGORIES= sysutils
MASTER_SITES= http://www.cgsecurity.org/
MAINTAINER= flz@FreeBSD.org
COMMENT= Tool to check and undelete partitions
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
MAN1= testdisk.1 photorec.1
PLIST_FILES= sbin/testdisk sbin/photorec
PORTDOCS= *
OPTIONS= E2FSPROGS "Use ext2fs extensions" off \
NTFSPROGS "Use ntfs extensions" off \
PROGSREISERFS "Use reiserfs extensions" off
.include <bsd.port.pre.mk>
.if defined(WITH_E2FSPROGS)
LIB_DEPENDS+= ext2fs.2:${PORTSDIR}/sysutils/e2fsprogs
.endif
.if defined(WITH_NTFSPROGS)
LIB_DEPENDS+= ntfs.8:${PORTSDIR}/sysutils/ntfsprogs
.endif
.if defined(WITH_PROGSREISERFS)
LIB_DEPENDS+= reiserfs-0.3.0:${PORTSDIR}/sysutils/progsreiserfs
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)/doc|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>