diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-01-15 15:52:18 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-01-15 15:52:18 +0000 |
commit | b450d9028e2fb4ef5deb47a900edc46554251a2f (patch) | |
tree | 43df59997a3d1dd4b4129f691dd1f73ce3a1a350 /sysutils/hardlink | |
parent | 65c8dd0038a258cd5e1b5bec925ce02c2c429ae9 (diff) | |
download | ports-b450d9028e2fb4ef5deb47a900edc46554251a2f.tar.gz ports-b450d9028e2fb4ef5deb47a900edc46554251a2f.zip |
Notes
Diffstat (limited to 'sysutils/hardlink')
-rw-r--r-- | sysutils/hardlink/Makefile | 34 | ||||
-rw-r--r-- | sysutils/hardlink/distinfo | 2 | ||||
-rw-r--r-- | sysutils/hardlink/pkg-descr | 4 |
3 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/hardlink/Makefile b/sysutils/hardlink/Makefile new file mode 100644 index 000000000000..f5b1da4b2887 --- /dev/null +++ b/sysutils/hardlink/Makefile @@ -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> diff --git a/sysutils/hardlink/distinfo b/sysutils/hardlink/distinfo new file mode 100644 index 000000000000..69680d02c68e --- /dev/null +++ b/sysutils/hardlink/distinfo @@ -0,0 +1,2 @@ +SHA256 (hardlink_0.1.1.tar.gz) = b6ecd4fee72b66054ed941e23177e46537abefd4cc71d9c05b1b587d766f8273 +SIZE (hardlink_0.1.1.tar.gz) = 6306 diff --git a/sysutils/hardlink/pkg-descr b/sysutils/hardlink/pkg-descr new file mode 100644 index 000000000000..866b81e42756 --- /dev/null +++ b/sysutils/hardlink/pkg-descr @@ -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/ |