summaryrefslogtreecommitdiff
path: root/sysutils/ndir/Makefile
blob: 78a3d8ddfac63910b754031fd1b0c6fb61ef12ce (plain) (blame)
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
# New ports collection makefile for:	ndir
# Date created:			Jun 16, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	ndir
PORTVERSION=	0.8.5
CATEGORIES=	sysutils
MASTER_SITES=	http://www.Informatik.Uni-Oldenburg.DE/~mw/software/
DISTNAME=	NDir-${PORTVERSION}
EXTRACT_SUFX=	-1.tar.gz

MAINTAINER=	markp@FreeBSD.org

USE_GMAKE=	yes
USE_REINPLACE=	yes
ALL_TARGET=	compile
CFLAGS+=	-DNO_THOUSANDS_GROUPING
MAN1=		ndir.1
MLINKS=		ndir.1 lv.1 ndir.1 lw.1

post-patch:
	@${REINPLACE_CMD} -e "s/^export GLOBAL.+//g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/ndir ${PREFIX}/bin
	${LN} -sf ndir ${PREFIX}/bin/lw
	${LN} -sf ndir ${PREFIX}/bin/lv
	${INSTALL_MAN} ${WRKSRC}/ndir.1 ${PREFIX}/man/man1

.include <bsd.port.mk>