aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ap-utils/Makefile
blob: 5473fe1cd8fb3c2eac65822a0e79194de5b570a6 (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
34
# Created by: Jerry A! <jerry@thehutt.org>

PORTNAME=	ap-utils
PORTVERSION=	1.4.1
PORTREVISION=	5
CATEGORIES=	net-mgmt
MASTER_SITES=	SF

MAINTAINER=	david@catwhisker.org
COMMENT=	Set of utilities to configure and monitor wireless access points

GNU_CONFIGURE=	yes
USES=		iconv ncurses tar:bzip2
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lintl

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

NLS_USES=	gettext
NLS_CONFIGURE_OFF=	--disable-nls

.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MNLS}
BROKEN=		Does not build without gettext
.endif

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC}/Documentation && \
		${INSTALL_DATA} FAQ Ovislink-HOWTO.html HARDWARE-NOTES README.ap-gl ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>