aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/samefile/Makefile
blob: 3ebbaecd48800b9dba013fbefdd78b93f4b1b165 (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
# $FreeBSD$

PORTNAME=   samefile
PORTVERSION=    2.15
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   http://www.schweikhardt.net/

MAINTAINER= schweikh@FreeBSD.org
COMMENT=    Find files with identical contents

CONFLICTS=  samesame-[0-9]*

GNU_CONFIGURE=  yes

CFLAGS+=    -ansi -pedantic -Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long

PLIST_FILES=    bin/samefile man/man1/samefile.1.gz

post-build:
    @${ECHO_MSG} "   >>>>                        <<<<"
    @${ECHO_MSG} "   >>>> Running the test suite <<<<"
    @${ECHO_MSG} "   >>>>                        <<<<"
    cd ${WRKSRC}; ${MAKE} test

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/samefile

.include <bsd.port.mk>