aboutsummaryrefslogtreecommitdiff
path: root/sysutils/testdisk
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2011-07-18 14:18:26 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2011-07-18 14:18:26 +0000
commit46f6c92a052096288100df25b6e1dd95fea48950 (patch)
treed1c1f7aad5c9411c95b65ad0a09fdef9b2e9e2c7 /sysutils/testdisk
parent79bffe1242a59bbe2ad547f6f14d8f206c4ac7c3 (diff)
downloadports-46f6c92a052096288100df25b6e1dd95fea48950.tar.gz
ports-46f6c92a052096288100df25b6e1dd95fea48950.zip
Notes
Diffstat (limited to 'sysutils/testdisk')
-rw-r--r--sysutils/testdisk/Makefile26
-rw-r--r--sysutils/testdisk/distinfo6
2 files changed, 20 insertions, 12 deletions
diff --git a/sysutils/testdisk/Makefile b/sysutils/testdisk/Makefile
index e05c91c35320..a819792d207b 100644
--- a/sysutils/testdisk/Makefile
+++ b/sysutils/testdisk/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= testdisk
-PORTVERSION= 6.11
-PORTREVISION= 1
+PORTVERSION= 6.12
CATEGORIES= sysutils
MASTER_SITES= http://www.cgsecurity.org/
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
@@ -22,20 +21,21 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
CONFIGURE_ARGS= --without-ewf
-MAN1= testdisk.1 photorec.1
-PLIST_FILES= sbin/testdisk sbin/photorec
+MAN8= fidentify.8 testdisk.8 photorec.8
+PLIST_FILES= bin/fidentify bin/testdisk bin/photorec
PORTDOCS= *
OPTIONS= ICONV "Use iconv extensions" on \
- NTFSPROGS "Use ntfs extensions" off \
+ NTFS3G "Use fusefs-ntfs extensions" off \
+ NTFSPROGS "Use ntfsprogs extensions" off \
PROGSREISERFS "Use reiserfs extensions" off
# E2FSPROGS "Use ext2fs extensions" off \
.include <bsd.port.pre.mk>
-.if !defined(NOPORTDOCS)
-DISTFILES+= ${PORTNAME}-doc-${PORTVERSION}${EXTRACT_SUFX}
-.endif
+#.if !defined(NOPORTDOCS)
+#DISTFILES+= ${PORTNAME}-doc-${PORTVERSION}${EXTRACT_SUFX}
+#.endif
.if !defined(WITHOUT_ICONV)
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
@@ -51,7 +51,16 @@ CONFIGURE_ARGS+=--without-iconv
#CONFIGURE_ARGS+=--without-ext2fs
#.endif
+.if defined(WITH_NTFS3G)
+LIB_DEPENDS+= ntfs-3g.81:${PORTSDIR}/sysutils/fusefs-ntfs
+.else
+CONFIGURE_ARGS+=--without-ntfs3g
+.endif
+
.if defined(WITH_NTFSPROGS)
+.if defined(WITH_NTFS3G)
+IGNORE= WITH_NTFSPROGS does not work if WITH_NTFS3G is defined
+.endif
LIB_DEPENDS+= ntfs.10:${PORTSDIR}/sysutils/ntfsprogs
.else
CONFIGURE_ARGS+=--without-ntfs
@@ -66,6 +75,7 @@ CONFIGURE_ARGS+=--without-reiserfs
post-patch:
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/doc\/testdisk\/html/d' ${WRKSRC}/Makefile.in
.else
@${REINPLACE_CMD} -e '/\/doc\/$$(PACKAGE)-$$(VERSION)/d' ${WRKSRC}/Makefile.in
.endif
diff --git a/sysutils/testdisk/distinfo b/sysutils/testdisk/distinfo
index 368fd9b965b0..a698d80c1551 100644
--- a/sysutils/testdisk/distinfo
+++ b/sysutils/testdisk/distinfo
@@ -1,4 +1,2 @@
-SHA256 (testdisk-6.11.tar.bz2) = 1d49183063f811ab968658235252cfc3b623faa6188b8e4d6ff8c20e79564075
-SIZE (testdisk-6.11.tar.bz2) = 1553183
-SHA256 (testdisk-doc-6.11.tar.bz2) = 591f2bce1745f8f3e4f2b2cec0bc78700b2b17e01a9adf4361f873a365906201
-SIZE (testdisk-doc-6.11.tar.bz2) = 2953596
+SHA256 (testdisk-6.12.tar.bz2) = bdfbe679146518a1321d64f512d6ec8980ac3a9f2296ef27a46c7743d0f9ea16
+SIZE (testdisk-6.12.tar.bz2) = 554633