mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add highlnk , a tool to save disk space on hard disks by using
hardlinks. PR: ports/82455 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
This commit is contained in:
parent
a645463b68
commit
9c53384b13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138697
4 changed files with 52 additions and 0 deletions
|
@ -212,6 +212,7 @@
|
|||
SUBDIR += healthd
|
||||
SUBDIR += heartbeat
|
||||
SUBDIR += heirloom
|
||||
SUBDIR += highlnk
|
||||
SUBDIR += hourglass
|
||||
SUBDIR += httplog
|
||||
SUBDIR += i855vidctl10
|
||||
|
|
38
sysutils/highlnk/Makefile
Normal file
38
sysutils/highlnk/Makefile
Normal file
|
@ -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>
|
2
sysutils/highlnk/distinfo
Normal file
2
sysutils/highlnk/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (highlnk-0.2.tar.gz) = 8a3364e84eac8c3f908a82951d9437b7
|
||||
SIZE (highlnk-0.2.tar.gz) = 14533
|
11
sysutils/highlnk/pkg-descr
Normal file
11
sysutils/highlnk/pkg-descr
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue