freebsd-ports/sysutils/dupmerge/Makefile
Dirk Meyer 56a22e7a56 Dupmerge reads a list of files from standard input (eg., as produced by
"find . -print") and looks securely for identical files. When it finds
two or more identical files, all but one are unlinked to reclaim the
disk space and recreated as hard links to the remaining copy.

WWW: http://sourceforge.net/projects/dupmerge
2009-01-13 15:42:55 +00:00

34 lines
699 B
Makefile

# New ports collection makefile for: dupmerge
# Date created: 12 Jan 2009
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#
PORTNAME= dupmerge
PORTVERSION= 1.73
CATEGORIES= sysutils
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Searches for files with equal content
USE_ZIP= yes
MAKE_FLAGS=
MAKEFILE=
LDFLAGS+= -lroken -lcrypt
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
ALL_TARGET= dupmerge
PLIST_FILES= bin/dupmerge
PORTDOCS= readme.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dupmerge ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/
.endif
.include <bsd.port.mk>