2013-01-15 14:40:28 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-07-08 12:15:27 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= highlnk
|
|
|
|
DISTVERSION= 0.2
|
|
|
|
CATEGORIES= sysutils
|
2006-06-01 14:13:54 +02:00
|
|
|
MASTER_SITES= http://perli.net/projekte/highlnk/ \
|
2008-03-27 20:27:34 +01:00
|
|
|
CRITICAL
|
2005-07-08 12:15:27 +02:00
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2013-03-08 15:00:30 +01:00
|
|
|
COMMENT= Tool to save disk space on hard disks by using hardlinks
|
2005-07-08 12:15:27 +02:00
|
|
|
|
2011-01-25 20:59:40 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-10-23 09:14:05 +02:00
|
|
|
PLIST_FILES= bin/highlnk man/man1/highlnk.1.gz
|
2005-07-08 12:15:27 +02:00
|
|
|
PORTDOCS= README
|
|
|
|
|
2013-01-15 14:40:28 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2005-07-08 12:15:27 +02:00
|
|
|
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:
|
2013-10-23 09:14:05 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2005-07-08 12:15:27 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|