freebsd-ports/sysutils/samefile/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

27 lines
795 B
Makefile

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
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>