freebsd-ports/sysutils/filedupe/Makefile
2003-02-22 17:14:31 +00:00

28 lines
632 B
Makefile

# New ports collection makefile for: filedupe
# Date created: Apr 10, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= filedupe
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://sammy.net/~sammy/hacks/
MAINTAINER= markp@FreeBSD.org
COMMENT= A utility for quickly finding duplicate files
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
USE_REINPLACE= 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>