- Add hardlink 0.1.1

hardlink is a tool which detects multiple copies of the same file and replaces
them with hardlinks.

WWW: http://jak-linux.org/projects/hardlink/

PR:		ports/154020
Submitted by:	Douglas William Thrift <douglas@douglasthrift.net>
Feature safe:	yes
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-01-15 15:52:18 +00:00
parent 65c8dd0038
commit b450d9028e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267843
4 changed files with 41 additions and 0 deletions

View file

@ -353,6 +353,7 @@
SUBDIR += hal
SUBDIR += hal-info
SUBDIR += hammerhead
SUBDIR += hardlink
SUBDIR += hatop
SUBDIR += hdup
SUBDIR += healthd

View file

@ -0,0 +1,34 @@
# New ports collection makefile for: hardlink
# Date created: 14 January 2011
# Whom: Douglas Thrift
#
# $FreeBSD$
#
PORTNAME= hardlink
PORTVERSION= 0.1.1
CATEGORIES= sysutils python
MASTER_SITES= http://jak-linux.org/projects/hardlink/ \
http://apt.douglasthrift.net/files/${PORTNAME}/ \
http://code.douglasthrift.net/files/${PORTNAME}/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= douglas@douglasthrift.net
COMMENT= Replace file copies using hardlinks
LICENSE= MIT
MAN1= hardlink.1
NO_BUILD= yes
PLIST_FILES= bin/hardlink
USE_PYTHON= 2.5+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/hardlink.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/hardlink.py ${PREFIX}/bin/hardlink
${INSTALL_MAN} ${WRKSRC}/hardlink.1 ${PREFIX}/man/man1/hardlink.1
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (hardlink_0.1.1.tar.gz) = b6ecd4fee72b66054ed941e23177e46537abefd4cc71d9c05b1b587d766f8273
SIZE (hardlink_0.1.1.tar.gz) = 6306

View file

@ -0,0 +1,4 @@
hardlink is a tool which detects multiple copies of the same file and replaces
them with hardlinks.
WWW: http://jak-linux.org/projects/hardlink/