1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/sysutils/testdisk/Makefile
Mathieu Arnold 88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00

61 lines
1.7 KiB
Makefile

# $FreeBSD$
PORTNAME= testdisk
PORTVERSION= 6.14
CATEGORIES= sysutils
MASTER_SITES= http://www.cgsecurity.org/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= flz@FreeBSD.org
COMMENT= Tool to check and undelete partitions
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
USES= tar:bzip2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
CONFIGURE_ARGS= --without-ewf
PLIST_FILES= bin/fidentify bin/testdisk bin/photorec \
man/man8/fidentify.8.gz man/man8/photorec.8.gz \
man/man8/testdisk.8.gz
PORTDOCS= *
OPTIONS_DEFINE= ICONV PROGSREISERFS NTFS DOCS
OPTIONS_DEFAULT= ICONV
OPTIONS_SINGLE= NTFS
OPTIONS_SINGLE_NTFS= NTFS3G NTFSPROGS
NTFS_DESC= Support NTFS
NTFS3G_DESC= Use fusefs-ntfs extensions
NTFSPROGS_DESC= Use ntfsprogs extensions
PROGSREISERFS_DESC= Use reiserfs extensions
# E2FSPROGS "Use ext2fs extensions" off \
ICONV_USES= iconv
ICONV_CONFIGURE_OFF= --without-iconv
# e2fsprogs does not provide ext2fs.so any more
# since it does not do 'make install-libs'
#.if defined(WITH_E2FSPROGS)
#LIB_DEPENDS+= ext2fs.2:${PORTSDIR}/sysutils/e2fsprogs
#.else
#CONFIGURE_ARGS+=--without-ext2fs
#.endif
NTFS3G_LIB_DEPENDS= libntfs-3g.so:${PORTSDIR}/sysutils/fusefs-ntfs
NTFS3G_CONFIGURE_OFF= --without-ntfs3g
NTFSPROGS_LIB_DEPENDS= libntfs.so:${PORTSDIR}/sysutils/ntfsprogs
NTFS_PROGS_CONFIGURE_ARGS= --without-ntfs
PROGSREISERFS_LIB_DEPENDS= libreiserfs-0.3.so:${PORTSDIR}/sysutils/progsreiserfs
PROGSREISERFS_CONFIGURE_OFF= --without-reiserfs
post-patch:
@${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/doc\/testdisk\/html/d' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>