freebsd-ports/sysutils/filedupe/Makefile
Baptiste Daroussin ffb7170399 Modernize LIB_DEPENDS
With hat:	portmgr
2014-07-14 18:42:04 +00:00

24 lines
574 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:${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>