mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
The samefile program finds files with identical contents (independent of
file name). Typical usage would be find / -print | samefile turning up megabytes of wasted disk space due to duplicates. Try it, you'll be baffled. Jens Schweikhardt samefile@schweikhardt.net PR: 25857 Submitted by: schweikh@schweikhardt.net
This commit is contained in:
parent
fd0747dc7b
commit
d1bf99f0d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40152
@ -103,6 +103,7 @@
|
||||
SUBDIR += roottail
|
||||
SUBDIR += ruby-syslog
|
||||
SUBDIR += safecat
|
||||
SUBDIR += samefile
|
||||
SUBDIR += sarah
|
||||
SUBDIR += sdd
|
||||
SUBDIR += setcdboot
|
||||
|
29
sysutils/samefile/Makefile
Normal file
29
sysutils/samefile/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: samefile
|
||||
# Date created: 15 March 2001
|
||||
# Whom: schweikh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= samefile
|
||||
PORTVERSION= 2.9
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.schweikhardt.net/
|
||||
|
||||
MAINTAINER= samefile@schweikhardt.net
|
||||
|
||||
MAN1= samefile.1
|
||||
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
|
||||
|
||||
post-build:
|
||||
@echo " >>>> <<<<"
|
||||
@echo " >>>> Running the test suite <<<<"
|
||||
@echo " >>>> <<<<"
|
||||
cd ${WRKSRC}; ${MAKE} test
|
||||
|
||||
post-install:
|
||||
strip ${PREFIX}/bin/samefile
|
||||
|
||||
.include <bsd.port.mk>
|
1
sysutils/samefile/distinfo
Normal file
1
sysutils/samefile/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (samefile-2.9.tar.gz) = cac055b174882e4ecc4db7b7cee78c94
|
1
sysutils/samefile/pkg-comment
Normal file
1
sysutils/samefile/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Find files with identical contents
|
10
sysutils/samefile/pkg-descr
Normal file
10
sysutils/samefile/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The samefile program finds files with identical contents (independent of
|
||||
file name). Typical usage would be
|
||||
|
||||
find / -print | samefile
|
||||
|
||||
turning up megabytes of wasted disk space due to duplicates. Try it,
|
||||
you'll be baffled.
|
||||
|
||||
Jens Schweikhardt
|
||||
samefile@schweikhardt.net
|
1
sysutils/samefile/pkg-plist
Normal file
1
sysutils/samefile/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/samefile
|
Loading…
Reference in New Issue
Block a user