diff options
-rw-r--r-- | sysutils/testdisk/Makefile | 33 | ||||
-rw-r--r-- | sysutils/testdisk/distinfo | 4 |
2 files changed, 13 insertions, 24 deletions
diff --git a/sysutils/testdisk/Makefile b/sysutils/testdisk/Makefile index e78a83d48ac9..b2f61b4c19a5 100644 --- a/sysutils/testdisk/Makefile +++ b/sysutils/testdisk/Makefile @@ -6,7 +6,7 @@ # PORTNAME= testdisk -PORTVERSION= 5.3 +PORTVERSION= 5.6 CATEGORIES= sysutils MASTER_SITES= http://www.cgsecurity.org/ @@ -18,40 +18,29 @@ USE_REINPLACE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib" -MAN1= testdisk.1 -PLIST_FILES= sbin/testdisk +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.5:${PORTSDIR}/sysutils/ntfsprogs +LIB_DEPENDS+= ntfs.6:${PORTSDIR}/sysutils/ntfsprogs .endif .if defined(WITH_PROGSREISERFS) LIB_DEPENDS+= reiserfs-0.3.0:${PORTSDIR}/sysutils/progsreiserfs .endif -.if !defined(WITH_E2FSPROGS) || !defined(WITH_NTFSPROGS) || !defined(WITH_PROGSREISERFS) -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "You can define the following for additional features:" - @${ECHO_MSG} "" -.if !defined(WITH_E2FSPROGS) - @${ECHO_MSG} "WITH_E2FSPROGS - Use ext2fs extensions. -.endif -.if !defined(WITH_NTFSPROGS) - @${ECHO_MSG} "WITH_NTFSPROGS - Use ntfs extensions. -.endif -.if !defined(WITH_PROGSREISERFS) - @${ECHO_MSG} "WITH_PROGSREISERFS - Use reiserfs extensions. -.endif - @${ECHO_MSG} "" -.endif - post-patch: @${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)/doc|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/sysutils/testdisk/distinfo b/sysutils/testdisk/distinfo index 8d8f5ecd7a97..28c47d75c2ac 100644 --- a/sysutils/testdisk/distinfo +++ b/sysutils/testdisk/distinfo @@ -1,2 +1,2 @@ -MD5 (testdisk-5.3.tar.gz) = 63437803dcfe67f3e2ab434c33446723 -SIZE (testdisk-5.3.tar.gz) = 460690 +MD5 (testdisk-5.6.tar.gz) = a304bddfd9e22ed32d6ba34ab6686aa0 +SIZE (testdisk-5.6.tar.gz) = 503776 |