1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/sysutils/filedupe/Makefile
2013-11-13 12:50:18 +00:00

25 lines
568 B
Makefile

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