aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2011-07-18 22:18:26 +0800
committerflz <flz@FreeBSD.org>2011-07-18 22:18:26 +0800
commit6f963d6e1f235942f069687e1c4811bfc7f29010 (patch)
tree75f24df405758557ca7c74609f3e94f6a1da8d89 /sysutils
parent53fe58b6ff81dfe01af6f05a198210e23da26dcc (diff)
downloadfreebsd-ports-gnome-6f963d6e1f235942f069687e1c4811bfc7f29010.tar.gz
freebsd-ports-gnome-6f963d6e1f235942f069687e1c4811bfc7f29010.tar.zst
freebsd-ports-gnome-6f963d6e1f235942f069687e1c4811bfc7f29010.zip
Update sysutils/testdisk to 6.12.
Also add support for ntfs3g. PR: ports/158792 Submitted by: Jan Henrik Sylvester <me@janh.de>
Diffstat (limited to 'sysutils')
-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