freebsd-ports/sysutils/highlnk/Makefile

34 lines
863 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $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
MAINTAINER= ehaupt@FreeBSD.org
2013-03-08 15:00:30 +01:00
COMMENT= Tool to save disk space on hard disks by using hardlinks
LICENSE= GPLv2
2013-10-23 09:14:05 +02:00
PLIST_FILES= bin/highlnk man/man1/highlnk.1.gz
PORTDOCS= README
OPTIONS_DEFINE= DOCS
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}
.include <bsd.port.mk>