aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ap-utils/Makefile
blob: 346e765a59bf4a6d418d3052507497e10efa83be (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
35
# Created by: Jerry A! <jerry@thehutt.org>
# $FreeBSD$

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_WITHOUT=  --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>