summaryrefslogtreecommitdiff
path: root/sysutils/samefile/Makefile
blob: 1ef6c64e4cf25bd27214cf4020719a4ba8118241 (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

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>