freebsd-ports/sysutils/filedupe/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

24 lines
562 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= 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>