diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-07-08 10:15:27 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-07-08 10:15:27 +0000 |
commit | 9c53384b13a562855d91e7cd797ea5f06c81e721 (patch) | |
tree | 4f52256fe4670f2192abc477f502806fcbc22364 /sysutils/highlnk | |
parent | a645463b68789379c77bd3337a0601afc0ab5d67 (diff) |
Add highlnk , a tool to save disk space on hard disks by using
hardlinks.
PR: ports/82455
Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes:
svn path=/head/; revision=138697
Diffstat (limited to 'sysutils/highlnk')
-rw-r--r-- | sysutils/highlnk/Makefile | 38 | ||||
-rw-r--r-- | sysutils/highlnk/distinfo | 2 | ||||
-rw-r--r-- | sysutils/highlnk/pkg-descr | 11 |
3 files changed, 51 insertions, 0 deletions
diff --git a/sysutils/highlnk/Makefile b/sysutils/highlnk/Makefile new file mode 100644 index 000000000000..f94572a47f23 --- /dev/null +++ b/sysutils/highlnk/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: highlnk +# Date created: 20 Jun 2005 +# Whom: Emanuel Haupt <ehaupt@critical.ch> +# +# $FreeBSD$ +# + +PORTNAME= highlnk +DISTVERSION= 0.2 +CATEGORIES= sysutils +MASTER_SITES= http://www.perli.net/projekte/highlnk/ + +MAINTAINER= ehaupt@critical.ch +COMMENT= A tool to save disk space on hard disks by using hardlinks + +USE_REINPLACE= yes + +PLIST_FILES= bin/highlnk +PORTDOCS= README +MAN1= highlnk.1 + +post-patch: + @${REINPLACE_CMD} -e 's|linux/limits.h|sys/syslimits.h|' \ + ${WRKSRC}/finder.c \ + ${WRKSRC}/highlnk.c + @${REINPLACE_CMD} -e 's|^FLAGS.*|FLAGS = ${CFLAGS}|; s|^\(CC\).*|\1?=gcc|' \ + ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/sysutils/highlnk/distinfo b/sysutils/highlnk/distinfo new file mode 100644 index 000000000000..c2d019641870 --- /dev/null +++ b/sysutils/highlnk/distinfo @@ -0,0 +1,2 @@ +MD5 (highlnk-0.2.tar.gz) = 8a3364e84eac8c3f908a82951d9437b7 +SIZE (highlnk-0.2.tar.gz) = 14533 diff --git a/sysutils/highlnk/pkg-descr b/sysutils/highlnk/pkg-descr new file mode 100644 index 000000000000..30a7e6113809 --- /dev/null +++ b/sysutils/highlnk/pkg-descr @@ -0,0 +1,11 @@ +HighLnk is a high-performance hardlinking tool, which takes the contents of the +current directory, and hard-links files with different content to the target +directory. Files with same content will also be hard-linked but in a way that +storage space is saved. This is useful if you have many files on a read-only +partition, or if you plan to put many files on a CD/DVD, but the whole tree is +just too big to fit on the media. + +WWW: http://www.thpinfo.com/highlnk/ + +- ehaupt +ehaupt@critical.ch |