Lines 1-14
Link Here
|
1 |
# $FreeBSD: head/sysutils/testdisk/Makefile 430145 2016-12-31 17:38:55Z rene $ |
1 |
# $FreeBSD: head/sysutils/testdisk/Makefile 430145 2016-12-31 17:38:55Z rene $ |
2 |
|
2 |
|
3 |
PORTNAME= testdisk |
3 |
PORTNAME= testdisk |
4 |
PORTVERSION= 7.0 |
4 |
DISTVERSION= 7.1 |
5 |
CATEGORIES= sysutils |
5 |
CATEGORIES= sysutils |
6 |
MASTER_SITES= http://www.cgsecurity.org/ |
6 |
MASTER_SITES= http://www.cgsecurity.org/ |
7 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
7 |
DISTNAME= ${PORTNAME}-${DISTVERSION}-WIP |
8 |
|
8 |
|
9 |
MAINTAINER= flz@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= Tool to check and undelete partitions |
10 |
COMMENT= Tool to check and undelete partitions |
11 |
|
11 |
|
|
|
12 |
LICENSE= GPLv2 |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
12 |
USES= jpeg ncurses tar:bzip2 |
15 |
USES= jpeg ncurses tar:bzip2 |
13 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
14 |
CPPFLAGS+= -I${PREFIX}/include |
17 |
CPPFLAGS+= -I${PREFIX}/include |
Lines 17-27
Link Here
|
17 |
|
20 |
|
18 |
PLIST_FILES= bin/fidentify bin/photorec bin/testdisk \ |
21 |
PLIST_FILES= bin/fidentify bin/photorec bin/testdisk \ |
19 |
man/man8/fidentify.8.gz man/man8/photorec.8.gz \ |
22 |
man/man8/fidentify.8.gz man/man8/photorec.8.gz \ |
20 |
man/man8/qphotorec.8.gz man/man8/testdisk.8.gz \ |
23 |
man/man8/testdisk.8.gz man/zh_CN/man8/fidentify.8.gz \ |
21 |
man/zh_CN/man8/fidentify.8.gz man/zh_CN/man8/photorec.8.gz \ |
24 |
man/zh_CN/man8/photorec.8.gz man/zh_CN/man8/testdisk.8.gz |
22 |
man/zh_CN/man8/qphotorec.8.gz man/zh_CN/man8/testdisk.8.gz \ |
|
|
23 |
share/icons/hicolor/48x48/apps/qphotorec.png \ |
24 |
share/icons/hicolor/scalable/apps/qphotorec.svg |
25 |
|
25 |
|
26 |
PORTDOCS= * |
26 |
PORTDOCS= * |
27 |
|
27 |
|
Lines 29-55
Link Here
|
29 |
OPTIONS_DEFAULT= ICONV |
29 |
OPTIONS_DEFAULT= ICONV |
30 |
NTFS_DESC= Support NTFS via fuse-ntfs extensions |
30 |
NTFS_DESC= Support NTFS via fuse-ntfs extensions |
31 |
PROGSREISERFS_DESC= Use reiserfs extensions |
31 |
PROGSREISERFS_DESC= Use reiserfs extensions |
32 |
# E2FSPROGS "Use ext2fs extensions" off \ |
|
|
33 |
|
32 |
|
34 |
ICONV_USES= iconv |
33 |
ICONV_USES= iconv |
35 |
ICONV_CONFIGURE_OFF= --without-iconv |
34 |
ICONV_CONFIGURE_OFF= --without-iconv |
36 |
|
35 |
|
37 |
# e2fsprogs does not provide ext2fs.so any more |
|
|
38 |
# since it does not do 'make install-libs' |
39 |
#.if defined(WITH_E2FSPROGS) |
40 |
#LIB_DEPENDS+= ext2fs.2:sysutils/e2fsprogs |
41 |
#.else |
42 |
#CONFIGURE_ARGS+=--without-ext2fs |
43 |
#.endif |
44 |
|
45 |
NTFS_LIB_DEPENDS= libntfs-3g.so:sysutils/fusefs-ntfs |
36 |
NTFS_LIB_DEPENDS= libntfs-3g.so:sysutils/fusefs-ntfs |
46 |
NTFS_CONFIGURE_OFF= --without-ntfs3g |
37 |
NTFS_CONFIGURE_OFF= --without-ntfs3g |
47 |
|
38 |
|
48 |
PROGSREISERFS_LIB_DEPENDS= libreiserfs-0.3.so:sysutils/progsreiserfs |
39 |
PROGSREISERFS_LIB_DEPENDS= libreiserfs.so:sysutils/progsreiserfs |
49 |
PROGSREISERFS_CONFIGURE_OFF= --without-reiserfs |
40 |
PROGSREISERFS_CONFIGURE_OFF= --without-reiserfs |
50 |
|
41 |
|
51 |
post-patch: |
|
|
52 |
@${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in |
53 |
@${REINPLACE_CMD} -e '/doc\/testdisk\/html/d' ${WRKSRC}/Makefile.in |
54 |
|
55 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |