From d1bf99f0d92ad07dcbcc2a919f26d1455805b5ef Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Wed, 21 Mar 2001 07:26:21 +0000 Subject: 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 --- sysutils/samefile/Makefile | 29 +++++++++++++++++++++++++++++ sysutils/samefile/distinfo | 1 + sysutils/samefile/pkg-comment | 1 + sysutils/samefile/pkg-descr | 10 ++++++++++ sysutils/samefile/pkg-plist | 1 + 5 files changed, 42 insertions(+) create mode 100644 sysutils/samefile/Makefile create mode 100644 sysutils/samefile/distinfo create mode 100644 sysutils/samefile/pkg-comment create mode 100644 sysutils/samefile/pkg-descr create mode 100644 sysutils/samefile/pkg-plist (limited to 'sysutils/samefile') diff --git a/sysutils/samefile/Makefile b/sysutils/samefile/Makefile new file mode 100644 index 000000000000..451b681a875e --- /dev/null +++ b/sysutils/samefile/Makefile @@ -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 diff --git a/sysutils/samefile/distinfo b/sysutils/samefile/distinfo new file mode 100644 index 000000000000..73f40bc12b3f --- /dev/null +++ b/sysutils/samefile/distinfo @@ -0,0 +1 @@ +MD5 (samefile-2.9.tar.gz) = cac055b174882e4ecc4db7b7cee78c94 diff --git a/sysutils/samefile/pkg-comment b/sysutils/samefile/pkg-comment new file mode 100644 index 000000000000..61c9a0146464 --- /dev/null +++ b/sysutils/samefile/pkg-comment @@ -0,0 +1 @@ +Find files with identical contents diff --git a/sysutils/samefile/pkg-descr b/sysutils/samefile/pkg-descr new file mode 100644 index 000000000000..ef52f7ffe5ae --- /dev/null +++ b/sysutils/samefile/pkg-descr @@ -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 diff --git a/sysutils/samefile/pkg-plist b/sysutils/samefile/pkg-plist new file mode 100644 index 000000000000..0505fb100f93 --- /dev/null +++ b/sysutils/samefile/pkg-plist @@ -0,0 +1 @@ +bin/samefile -- cgit v1.2.3