ports/75546: [NEW PORT] sysutils/fdupes

Emanuel Haupt haupt at critical.ch
Mon Dec 27 17:50:24 UTC 2004


The following reply was made to PR ports/75546; it has been noted by GNATS.

From: Emanuel Haupt <haupt at critical.ch>
To: freebsd-gnats-submit at FreeBSD.org, ehaupt at critical.ch
Cc:  
Subject: Re: ports/75546: [NEW PORT] sysutils/fdupes
Date: Mon, 27 Dec 2004 18:43:43 +0100

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



More information about the freebsd-ports-bugs mailing list