Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= testdisk |
8 |
PORTNAME= testdisk |
9 |
PORTVERSION= 6.11 |
9 |
PORTVERSION= 6.12 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= sysutils |
10 |
CATEGORIES= sysutils |
12 |
MASTER_SITES= http://www.cgsecurity.org/ |
11 |
MASTER_SITES= http://www.cgsecurity.org/ |
13 |
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} |
12 |
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} |
Lines 22-41
Link Here
|
22 |
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib" |
21 |
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib" |
23 |
CONFIGURE_ARGS= --without-ewf |
22 |
CONFIGURE_ARGS= --without-ewf |
24 |
|
23 |
|
25 |
MAN1= testdisk.1 photorec.1 |
24 |
MAN8= fidentify.8 testdisk.8 photorec.8 |
26 |
PLIST_FILES= sbin/testdisk sbin/photorec |
25 |
PLIST_FILES= bin/fidentify bin/testdisk bin/photorec |
27 |
PORTDOCS= * |
26 |
PORTDOCS= * |
28 |
|
27 |
|
29 |
OPTIONS= ICONV "Use iconv extensions" on \ |
28 |
OPTIONS= ICONV "Use iconv extensions" on \ |
30 |
NTFSPROGS "Use ntfs extensions" off \ |
29 |
NTFS3G "Use fusefs-ntfs extensions" off \ |
|
|
30 |
NTFSPROGS "Use ntfsprogs extensions" off \ |
31 |
PROGSREISERFS "Use reiserfs extensions" off |
31 |
PROGSREISERFS "Use reiserfs extensions" off |
32 |
# E2FSPROGS "Use ext2fs extensions" off \ |
32 |
# E2FSPROGS "Use ext2fs extensions" off \ |
33 |
|
33 |
|
34 |
.include <bsd.port.pre.mk> |
34 |
.include <bsd.port.pre.mk> |
35 |
|
35 |
|
36 |
.if !defined(NOPORTDOCS) |
36 |
#.if !defined(NOPORTDOCS) |
37 |
DISTFILES+= ${PORTNAME}-doc-${PORTVERSION}${EXTRACT_SUFX} |
37 |
#DISTFILES+= ${PORTNAME}-doc-${PORTVERSION}${EXTRACT_SUFX} |
38 |
.endif |
38 |
#.endif |
39 |
|
39 |
|
40 |
.if !defined(WITHOUT_ICONV) |
40 |
.if !defined(WITHOUT_ICONV) |
41 |
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv |
41 |
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv |
Lines 51-57
Link Here
|
51 |
#CONFIGURE_ARGS+=--without-ext2fs |
51 |
#CONFIGURE_ARGS+=--without-ext2fs |
52 |
#.endif |
52 |
#.endif |
53 |
|
53 |
|
|
|
54 |
.if defined(WITH_NTFS3G) |
55 |
LIB_DEPENDS+= ntfs-3g.81:${PORTSDIR}/sysutils/fusefs-ntfs |
56 |
.else |
57 |
CONFIGURE_ARGS+=--without-ntfs3g |
58 |
.endif |
59 |
|
54 |
.if defined(WITH_NTFSPROGS) |
60 |
.if defined(WITH_NTFSPROGS) |
|
|
61 |
.if defined(WITH_NTFS3G) |
62 |
IGNORE= WITH_NTFSPROGS does not work if WITH_NTFS3G is defined |
63 |
.endif |
55 |
LIB_DEPENDS+= ntfs.10:${PORTSDIR}/sysutils/ntfsprogs |
64 |
LIB_DEPENDS+= ntfs.10:${PORTSDIR}/sysutils/ntfsprogs |
56 |
.else |
65 |
.else |
57 |
CONFIGURE_ARGS+=--without-ntfs |
66 |
CONFIGURE_ARGS+=--without-ntfs |
Lines 66-71
Link Here
|
66 |
post-patch: |
75 |
post-patch: |
67 |
.if !defined(NOPORTDOCS) |
76 |
.if !defined(NOPORTDOCS) |
68 |
@${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in |
77 |
@${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in |
|
|
78 |
@${REINPLACE_CMD} -e '/doc\/testdisk\/html/d' ${WRKSRC}/Makefile.in |
69 |
.else |
79 |
.else |
70 |
@${REINPLACE_CMD} -e '/\/doc\/$$(PACKAGE)-$$(VERSION)/d' ${WRKSRC}/Makefile.in |
80 |
@${REINPLACE_CMD} -e '/\/doc\/$$(PACKAGE)-$$(VERSION)/d' ${WRKSRC}/Makefile.in |
71 |
.endif |
81 |
.endif |