aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/filedupe/Makefile
blob: d26d83c6d4e773a99f186d5c455570f4d632ee45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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=    libgdbm.so: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>