mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
39 lines
951 B
Makefile
39 lines
951 B
Makefile
# 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://perli.net/projekte/highlnk/ \
|
|
http://critical.ch/distfiles/ \
|
|
http://energy.critical.ch/distfiles/
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= A tool to save disk space on hard disks by using hardlinks
|
|
|
|
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>
|