2008-06-01 14:10:20 +00:00
|
|
|
# New ports collection makefile for: ap-utils
|
|
|
|
# Date created: 2002/07/10
|
|
|
|
# Whom: Jerry A! <jerry@thehutt.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ap-utils
|
|
|
|
PORTVERSION= 1.4.1
|
2010-05-31 02:01:56 +00:00
|
|
|
PORTREVISION= 4
|
2008-06-01 14:10:20 +00:00
|
|
|
CATEGORIES= net-mgmt
|
2009-08-22 00:32:25 +00:00
|
|
|
MASTER_SITES=` SF
|
2008-06-01 14:10:20 +00:00
|
|
|
|
2008-06-01 14:26:58 +00:00
|
|
|
MAINTAINER= david@catwhisker.org
|
2008-06-01 14:10:20 +00:00
|
|
|
COMMENT= A set of utilities to configure and monitor wireless access points
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
2008-06-01 16:32:44 +00:00
|
|
|
USE_ICONV= yes
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2008-06-01 14:10:20 +00:00
|
|
|
MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
BROKEN= Does not build without gettext
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/Documentation && \
|
|
|
|
${INSTALL_DATA} FAQ Ovislink-HOWTO.html HARDWARE-NOTES README.ap-gl ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2008-06-01 16:32:44 +00:00
|
|
|
.include <bsd.port.mk>
|