Bug 75546 - [NEW PORT] sysutils/fdupes
Summary: [NEW PORT] sysutils/fdupes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-27 15:50 UTC by Emanuel Haupt
Modified: 2005-01-18 17:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuel Haupt 2004-12-27 15:50:17 UTC
	
new port: sysutils/fdupes

FDUPES is a program for identifying or deleting duplicate files residing within 
specified directories.

--shar start--
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fdupes
#	fdupes/pkg-descr
#	fdupes/distinfo
#	fdupes/Makefile
#
echo c - fdupes
mkdir -p fdupes > /dev/null 2>&1
echo x - fdupes/pkg-descr
sed 's/^X//' >fdupes/pkg-descr << 'END-of-fdupes/pkg-descr'
XFDUPES is a program for identifying or deleting duplicate files residing within 
Xspecified directories.
X
XWWW: http://netdial.caribe.net/~adrian2/fdupes.html
END-of-fdupes/pkg-descr
echo x - fdupes/distinfo
sed 's/^X//' >fdupes/distinfo << 'END-of-fdupes/distinfo'
XMD5 (fdupes-1.40.tar.gz) = 11de9ab4466089b6acbb62816b30b189
XSIZE (fdupes-1.40.tar.gz) = 16026
END-of-fdupes/distinfo
echo x - fdupes/Makefile
sed 's/^X//' >fdupes/Makefile << 'END-of-fdupes/Makefile'
X# New ports collection makefile for:   fdupes
X# Date created:        27 December 2004
X# Whom:                Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fdupes
XPORTVERSION=	1.40
XCATEGORIES=	sysutils
XMASTER_SITES=	http://netdial.caribe.net/~adrian2/programs/
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	Fdupes is a program for identifying or deleting duplicate files
X
XMAN1=		fdupes.1
XPLIST_FILES=	bin/fdupes
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500000
XIGNORE=		"It is supported on FreeBSD 5.x and later"
X.endif
X
Xdo-build:
X	${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c -o ${WRKSRC}/${PORTNAME} -DVERSION=\"${PORTVERSION}\"
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
X
X.include <bsd.port.post.mk>
END-of-fdupes/Makefile
exit
--shar end--
Comment 1 haupt 2004-12-27 17:43:43 UTC
new version: 4.x support added

--shar start--
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fdupes
#	fdupes/Makefile
#	fdupes/distinfo
#	fdupes/pkg-descr
#
echo c - fdupes
mkdir -p fdupes > /dev/null 2>&1
echo x - fdupes/Makefile
sed 's/^X//' >fdupes/Makefile << 'END-of-fdupes/Makefile'
X# New ports collection makefile for:   fdupes
X# Date created:        27 December 2004
X# Whom:                Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fdupes
XPORTVERSION=	1.40
XCATEGORIES=	sysutils
XMASTER_SITES=	http://netdial.caribe.net/~adrian2/programs/
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	Fdupes is a program for identifying or deleting duplicate files
X
XUSE_GETOPT_LONG=	yes
X
XMAN1=		fdupes.1
XPLIST_FILES=	bin/fdupes
X
X.include <bsd.port.pre.mk>
X
XCFLAGS+=	-DHAVE_DECL_GETOPT
X
Xdo-build:
X.if ${OSVERSION} < 500041
X	${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c -o ${WRKSRC}/${PORTNAME} -DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include ${LOCALBASE}/lib/libgnugetopt.so
X.else
X	${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c -o ${WRKSRC}/${PORTNAME} -DVERSION=\"${PORTVERSION}\"
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
X
X.include <bsd.port.post.mk>
END-of-fdupes/Makefile
echo x - fdupes/distinfo
sed 's/^X//' >fdupes/distinfo << 'END-of-fdupes/distinfo'
XMD5 (fdupes-1.40.tar.gz) = 11de9ab4466089b6acbb62816b30b189
XSIZE (fdupes-1.40.tar.gz) = 16026
END-of-fdupes/distinfo
echo x - fdupes/pkg-descr
sed 's/^X//' >fdupes/pkg-descr << 'END-of-fdupes/pkg-descr'
XFDUPES is a program for identifying or deleting duplicate files residing within 
Xspecified directories.
X
XWWW: http://netdial.caribe.net/~adrian2/fdupes.html
END-of-fdupes/pkg-descr
exit
--shar end--
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-01-18 17:07:36 UTC
State Changed
From-To: open->closed

New port added, thank you!