aboutsummaryrefslogtreecommitdiff
path: root/sysutils/samefile/Makefile
blob: 4e9fda61e037eabaa0203751afcc0ac795a00f46 (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
# 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

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>