summaryrefslogtreecommitdiff
path: root/sysutils/ftwin/Makefile
blob: 0e2f8c98821f5bdd2f3e2c7ed5b03ba86e8fdebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.41 2020/08/17 20:20:04 leot Exp $

DISTNAME=	ftwin-0.8.8
PKGREVISION=	13
CATEGORIES=	sysutils
MASTER_SITES=	# http://download.meroware.org/ftwin/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	imil@gcu.info
HOMEPAGE=	https://github.com/fpesce/ftwin
COMMENT=	Ftwin finds duplicate files according to their content
#LICENSE=	apache-2.0 AND lots of others

GNU_CONFIGURE=		yes

DOCDIR=			${PREFIX}/share/doc/ftwin

INSTALLATION_DIRS+=	${DOCDIR} ${PKGMANDIR}/man8

# 0.8.8 gives warnings with libarchive-3.x
# https://github.com/fpesce/ftwin/issues/1
BUILDLINK_TRANSFORM+=	rm:-Werror

post-install:
	${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${DESTDIR}${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/KNOWN_BUGS ${DESTDIR}${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}

TEST_TARGET=	check

.include "../../archivers/libarchive/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
BUILDLINK_DEPMETHOD.check=	build
.include "../../devel/check/buildlink3.mk"
.include "../../devel/apr/buildlink3.mk"
.include "../../devel/apr-util/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../graphics/libpuzzle/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"