summaryrefslogtreecommitdiff
path: root/sysutils/testdisk/Makefile
blob: 233d6b4ec57068a27407ea0eb7f87bb7eedb6a89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

PORTNAME=	testdisk
DISTVERSION=	7.1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.cgsecurity.org/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool to check and undelete partitions

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		jpeg localbase:ldflags ncurses tar:bzip2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-qt --without-ewf

PLIST_FILES=	bin/fidentify bin/photorec bin/testdisk \
		man/man8/fidentify.8.gz man/man8/photorec.8.gz \
		man/man8/testdisk.8.gz man/zh_CN/man8/fidentify.8.gz \
		man/zh_CN/man8/photorec.8.gz man/zh_CN/man8/testdisk.8.gz

PORTDOCS=	*

OPTIONS_DEFINE=	ICONV PROGSREISERFS NTFS DOCS
OPTIONS_DEFAULT=	ICONV

NTFS_DESC=		Support NTFS via fuse-ntfs extensions
PROGSREISERFS_DESC=	Use reiserfs extensions

ICONV_USES=		iconv
ICONV_CONFIGURE_OFF=	--without-iconv

NTFS_LIB_DEPENDS=	libntfs-3g.so:sysutils/fusefs-ntfs
NTFS_CONFIGURE_OFF=	--without-ntfs3g

PROGSREISERFS_LIB_DEPENDS=	libreiserfs.so:sysutils/progsreiserfs
PROGSREISERFS_CONFIGURE_OFF=	--without-reiserfs

.include <bsd.port.mk>