Add fdupes, a program for identifying or deleting duplicate files residing

within specified directories.

PR:		ports/75546
Submitted by:	Emanuel Haupt <ehaupt@critical.ch>
This commit is contained in:
Pav Lucistnik 2005-01-18 17:06:38 +00:00
parent 410c998edc
commit 5cf32c6d87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126728
4 changed files with 43 additions and 0 deletions

View File

@ -123,6 +123,7 @@
SUBDIR += extipl
SUBDIR += fastest_cvsup
SUBDIR += fcron
SUBDIR += fdupes
SUBDIR += fetchlog
SUBDIR += ffsrecov
SUBDIR += file

36
sysutils/fdupes/Makefile Normal file
View File

@ -0,0 +1,36 @@
# New ports collection makefile for: fdupes
# Date created: 27 December 2004
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>

2
sysutils/fdupes/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (fdupes-1.40.tar.gz) = 11de9ab4466089b6acbb62816b30b189
SIZE (fdupes-1.40.tar.gz) = 16026

View File

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