2002-08-04 07:51:19 +02:00
|
|
|
# New ports collection makefile for: ap-utils
|
|
|
|
# Date created: 2002/07/10
|
|
|
|
# Whom: Jerry A! <jerry@thehutt.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ap-utils
|
2004-08-02 10:29:01 +02:00
|
|
|
PORTVERSION= 1.4.1
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2003-02-15 14:48:59 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-08-04 07:51:19 +02:00
|
|
|
|
2002-08-19 15:22:15 +02:00
|
|
|
MAINTAINER= daniel+aputils@pelleg.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= A set of utilities to configure and monitor wireless access points
|
2002-08-19 15:22:15 +02:00
|
|
|
|
2002-08-04 07:51:19 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-08-19 15:22:15 +02:00
|
|
|
USE_BZIP2= yes
|
2003-11-18 23:32:06 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib"
|
2002-11-13 00:34:48 +01:00
|
|
|
MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8
|
2002-08-04 07:51:19 +02:00
|
|
|
|
2004-08-02 10:29:01 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-11-18 23:32:06 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure
|
|
|
|
|
2002-08-19 15:22:15 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-08-04 07:51:19 +02:00
|
|
|
post-install:
|
2003-02-15 14:48:59 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/Documentation && \
|
2004-03-06 10:29:19 +01:00
|
|
|
${INSTALL_DATA} FAQ Ovislink-HOWTO.html HARDWARE-NOTES README.ap-gl ${DOCSDIR}
|
2002-08-04 07:51:19 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|