summaryrefslogtreecommitdiff
path: root/sysutils/samefile/Makefile
blob: 9d04059bf6fa1189bf34986d630b0cf782aaba4f (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
# New ports collection makefile for:   samefile
# Date created:        15 March 2001
# Whom:                schweikh
#
# $FreeBSD$
#

PORTNAME=	samefile
PORTVERSION=	2.12
CATEGORIES=	sysutils
MASTER_SITES=	http://www.schweikhardt.net/

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

CONFLICTS=	samesame-[0-9]*

MAN1=		samefile.1
PLIST_FILES=	bin/samefile
GNU_CONFIGURE=	yes

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

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

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

.include <bsd.port.mk>