diff options
author | dinoex <dinoex@FreeBSD.org> | 2009-01-13 23:42:55 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2009-01-13 23:42:55 +0800 |
commit | 2c637a569965dd60a9668029df06d6a4e108cff3 (patch) | |
tree | d2fe6876d3653601ac7179f98150e1103c8e2ddf /sysutils/dupmerge/Makefile | |
parent | 5b8f2754cdd11e495709ac999c48d71d83f370f7 (diff) | |
download | freebsd-ports-gnome-2c637a569965dd60a9668029df06d6a4e108cff3.tar.gz freebsd-ports-gnome-2c637a569965dd60a9668029df06d6a4e108cff3.tar.zst freebsd-ports-gnome-2c637a569965dd60a9668029df06d6a4e108cff3.zip |
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
Diffstat (limited to 'sysutils/dupmerge/Makefile')
-rw-r--r-- | sysutils/dupmerge/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/dupmerge/Makefile b/sysutils/dupmerge/Makefile new file mode 100644 index 000000000000..db86565159e9 --- /dev/null +++ b/sysutils/dupmerge/Makefile @@ -0,0 +1,33 @@ +# 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> |