freebsd-ports/sysutils/ndir/Makefile
Kris Kennaway 93872f18cc Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag.  Early inclusion caused problems for some ports, so to be safe I'm
updating all of them.

Pointy hat to:	kris
2003-06-04 22:43:38 +00:00

41 lines
917 B
Makefile

# 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
COMMENT= A featureful directory lister
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
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
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.post.mk>