summaryrefslogblamecommitdiff
path: root/sysutils/filedupe/Makefile
blob: 5c4bb9663b78ada95aa6549626d2eea4314f8330 (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

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 ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>