aboutsummaryrefslogblamecommitdiff
path: root/sysutils/filedupe/Makefile
blob: e7e90b6515acad4574c0137404d5e4acf677652d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             
           


                        
                 


                                              
                                 
                                                           
 
                                               
 
                            
 
                   



                                                                          
           
                                                           

                      
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

PORTNAME=	filedupe
PORTVERSION=	1.1
PORTREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	http://sammy.net/~sammy/hacks/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Utility for quickly finding duplicate files

LIB_DEPENDS=	gdbm:${PORTSDIR}/databases/gdbm

PLIST_FILES=	bin/filedupe

NO_STAGE=	yes
post-patch:
	${REINPLACE_CMD} -e 's|filename\[80\]|filename[1024]|g; \
		s|your_database|/var/db/filedupe.db|' ${WRKSRC}/filedupe.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/filedupe ${PREFIX}/bin

.include <bsd.port.mk>