1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/net/darkstat/Makefile
Sergei Kolobov 93287478d7 - Update to 2.6 [1]
- Add WITHOUT_NLS knob [1]
- Fix libintl detection if ${LOCALBASE} != /usr/local [2]
- Use DOCSDIR in pkg-plist

PR:		59034 [1]
Submitted by:	maintainer [1], sergei [2]
2003-11-07 17:23:40 +00:00

39 lines
913 B
Makefile

# New ports collection makefile for: darkstat
# Date created: 24 February 2002
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= darkstat
PORTVERSION= 2.6
CATEGORIES= net
MASTER_SITES= http://members.optushome.com.au/emikulic/net/darkstat/ \
http://yallara.cs.rmit.edu.au/~emikulic/_/
MAINTAINER= emikulic@optushome.com.au
COMMENT= Network statistics gatherer, similar to ntop
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
PLIST_SUB= NLS="@comment "
.else
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
PLIST_SUB= NLS=""
.endif
MAN1= darkstat.1
DOCS= AUTHORS ChangeLog INSTALL ISSUES README
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>