aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ftwin/Makefile
blob: a0af5b0168f4dd6d33576b0e846da8d8eedc0a3d (plain) (blame)
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
# $FreeBSD$

PORTNAME=   ftwin
PORTVERSION=    0.8.8
PORTREVISION=   4
CATEGORIES= sysutils
MASTER_SITES=   http://files.etoilebsd.net/ftwin/ \
        http://download.meroware.org/ftwin/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Useful tool to find duplicate files

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libapr-1.so:devel/apr1 \
        libpcre.so:devel/pcre \
        libpuzzle.so:graphics/libpuzzle

USES=       autoreconf libarchive tar:bzip2
GNU_CONFIGURE=  yes

PORTDOCS=   AUTHORS EXAMPLES TODO CHANGES KNOWN_BUGS VERSION README
PLIST_FILES=    bin/ftwin man/man8/ftwin.8.gz

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e \
        's|-Werror -g -ggdb|| ; \
         s|-O0||' ${WRKSRC}/Makefile.am

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>