aboutsummaryrefslogtreecommitdiff
path: root/sysutils/testdisk/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-30 14:04:15 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-30 14:04:15 +0000
commit09c6a8ade2f9bede34c295189e95c8c133efb0a9 (patch)
treef73405d379dad80f51c115a0dca658ee9974d684 /sysutils/testdisk/Makefile
parent9b93f5197d9a364832dd2a20e48a65cb99f88951 (diff)
Notes
Diffstat (limited to 'sysutils/testdisk/Makefile')
-rw-r--r--sysutils/testdisk/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/sysutils/testdisk/Makefile b/sysutils/testdisk/Makefile
index 605912365472..e78a83d48ac9 100644
--- a/sysutils/testdisk/Makefile
+++ b/sysutils/testdisk/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= testdisk
-PORTVERSION= 5.2
-PORTREVISION= 2
+PORTVERSION= 5.3
CATEGORIES= sysutils
MASTER_SITES= http://www.cgsecurity.org/
@@ -20,6 +19,8 @@ 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
+PORTDOCS= *
.if defined(WITH_E2FSPROGS)
LIB_DEPENDS+= ext2fs.2:${PORTSDIR}/sysutils/e2fsprogs
@@ -33,12 +34,6 @@ LIB_DEPENDS+= ntfs.5:${PORTSDIR}/sysutils/ntfsprogs
LIB_DEPENDS+= reiserfs-0.3.0:${PORTSDIR}/sysutils/progsreiserfs
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500040
-IGNORE= "Requires FreeBSD 5.x, some defines are missing in sys/disk.h before __FreeBSD_version 500040"
-.endif
-
.if !defined(WITH_E2FSPROGS) || !defined(WITH_NTFSPROGS) || !defined(WITH_PROGSREISERFS)
pre-everything::
@${ECHO_MSG} ""
@@ -57,6 +52,6 @@ pre-everything::
.endif
post-patch:
- ${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)/doc|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>