From 8dded214dc65c7dac678d2a4035935cfcc726753 Mon Sep 17 00:00:00 2001 From: pav Date: Tue, 18 Jan 2005 17:06:38 +0000 Subject: Add fdupes, a program for identifying or deleting duplicate files residing within specified directories. PR: ports/75546 Submitted by: Emanuel Haupt --- sysutils/fdupes/Makefile | 36 ++++++++++++++++++++++++++++++++++++ sysutils/fdupes/distinfo | 2 ++ sysutils/fdupes/pkg-descr | 4 ++++ 3 files changed, 42 insertions(+) create mode 100644 sysutils/fdupes/Makefile create mode 100644 sysutils/fdupes/distinfo create mode 100644 sysutils/fdupes/pkg-descr (limited to 'sysutils/fdupes') diff --git a/sysutils/fdupes/Makefile b/sysutils/fdupes/Makefile new file mode 100644 index 0000000..9758f20 --- /dev/null +++ b/sysutils/fdupes/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: fdupes +# Date created: 27 December 2004 +# Whom: Emanuel Haupt +# +# $FreeBSD$ +# + +PORTNAME= fdupes +PORTVERSION= 1.40 +CATEGORIES= sysutils +MASTER_SITES= http://netdial.caribe.net/~adrian2/programs/ + +MAINTAINER= ehaupt@critical.ch +COMMENT= Fdupes is a program for identifying or deleting duplicate files + +USE_GETOPT_LONG= yes + +MAN1= fdupes.1 +PLIST_FILES= bin/fdupes + +.include + +CFLAGS+= -DHAVE_DECL_GETOPT + +do-build: +.if ${OSVERSION} < 500041 + ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c -o ${WRKSRC}/${PORTNAME} -DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include ${LOCALBASE}/lib/libgnugetopt.so +.else + ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c -o ${WRKSRC}/${PORTNAME} -DVERSION=\"${PORTVERSION}\" +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 + +.include diff --git a/sysutils/fdupes/distinfo b/sysutils/fdupes/distinfo new file mode 100644 index 0000000..0679984 --- /dev/null +++ b/sysutils/fdupes/distinfo @@ -0,0 +1,2 @@ +MD5 (fdupes-1.40.tar.gz) = 11de9ab4466089b6acbb62816b30b189 +SIZE (fdupes-1.40.tar.gz) = 16026 diff --git a/sysutils/fdupes/pkg-descr b/sysutils/fdupes/pkg-descr new file mode 100644 index 0000000..65f3d32 --- /dev/null +++ b/sysutils/fdupes/pkg-descr @@ -0,0 +1,4 @@ +FDUPES is a program for identifying or deleting duplicate files residing within +specified directories. + +WWW: http://netdial.caribe.net/~adrian2/fdupes.html -- cgit v1.1