2004-04-18 19:42:57 +00:00
|
|
|
# New ports collection makefile for: testdisk
|
|
|
|
# Date created: Feb 28 2004
|
|
|
|
# Whom: Florent Thoumie <flz@xbsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= testdisk
|
2006-03-21 16:57:23 +00:00
|
|
|
PORTVERSION= 6.3
|
2004-04-18 19:42:57 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.cgsecurity.org/
|
|
|
|
|
2005-03-01 12:28:00 +00:00
|
|
|
MAINTAINER= flz@FreeBSD.org
|
2004-04-18 19:42:57 +00:00
|
|
|
COMMENT= Tool to check and undelete partitions
|
|
|
|
|
2005-10-03 10:02:29 +00:00
|
|
|
USE_BZIP2= yes
|
2004-05-02 23:40:41 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-05-18 09:28:27 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
|
2004-05-02 23:40:41 +00:00
|
|
|
|
2005-02-20 17:32:27 +00:00
|
|
|
MAN1= testdisk.1 photorec.1
|
|
|
|
PLIST_FILES= sbin/testdisk sbin/photorec
|
2004-05-30 14:04:15 +00:00
|
|
|
PORTDOCS= *
|
2004-04-18 19:42:57 +00:00
|
|
|
|
2005-02-20 17:32:27 +00:00
|
|
|
OPTIONS= E2FSPROGS "Use ext2fs extensions" off \
|
|
|
|
NTFSPROGS "Use ntfs extensions" off \
|
|
|
|
PROGSREISERFS "Use reiserfs extensions" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-04-18 19:42:57 +00:00
|
|
|
.if defined(WITH_E2FSPROGS)
|
2004-05-18 09:28:27 +00:00
|
|
|
LIB_DEPENDS+= ext2fs.2:${PORTSDIR}/sysutils/e2fsprogs
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_NTFSPROGS)
|
2005-10-11 15:50:54 +00:00
|
|
|
LIB_DEPENDS+= ntfs.8:${PORTSDIR}/sysutils/ntfsprogs
|
2004-05-18 09:28:27 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PROGSREISERFS)
|
|
|
|
LIB_DEPENDS+= reiserfs-0.3.0:${PORTSDIR}/sysutils/progsreiserfs
|
2004-04-18 19:42:57 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2004-05-30 14:04:15 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)/doc|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in
|
2004-04-18 19:42:57 +00:00
|
|
|
|
2005-02-20 17:32:27 +00:00
|
|
|
.include <bsd.port.post.mk>
|