blob: f94572a47f2336b14dfc7888253feebc25883832 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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>
|