aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ap-utils
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-02 08:29:01 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-02 08:29:01 +0000
commit2fce41641241d5bca2930c51edcc15c05e053931 (patch)
tree307135db3f956ef8cba5f7edb0cc1557174876df /net-mgmt/ap-utils
parentc5753380f37657f218822ec0305d0868a5e33598 (diff)
downloadports-2fce41641241d5bca2930c51edcc15c05e053931.tar.gz
ports-2fce41641241d5bca2930c51edcc15c05e053931.zip
Notes
Diffstat (limited to 'net-mgmt/ap-utils')
-rw-r--r--net-mgmt/ap-utils/Makefile11
-rw-r--r--net-mgmt/ap-utils/distinfo4
-rw-r--r--net-mgmt/ap-utils/pkg-plist10
3 files changed, 16 insertions, 9 deletions
diff --git a/net-mgmt/ap-utils/Makefile b/net-mgmt/ap-utils/Makefile
index 2e4ac46b9b78..6d2b7ea24032 100644
--- a/net-mgmt/ap-utils/Makefile
+++ b/net-mgmt/ap-utils/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ap-utils
-PORTVERSION= 1.4
+PORTVERSION= 1.4.1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,11 +17,18 @@ COMMENT= A set of utilities to configure and monitor wireless access points
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_BZIP2= yes
-USE_GETTEXT= yes
USE_REINPLACE= yes
CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib"
MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure
diff --git a/net-mgmt/ap-utils/distinfo b/net-mgmt/ap-utils/distinfo
index d210609239e2..b5f8708630b8 100644
--- a/net-mgmt/ap-utils/distinfo
+++ b/net-mgmt/ap-utils/distinfo
@@ -1,2 +1,2 @@
-MD5 (ap-utils-1.4.tar.bz2) = ff2ba8d6563d4e53ea3db6bd0262e381
-SIZE (ap-utils-1.4.tar.bz2) = 367750
+MD5 (ap-utils-1.4.1.tar.bz2) = 15b3ee8ae8f5e501ffa6dd8ced9c528d
+SIZE (ap-utils-1.4.1.tar.bz2) = 348746
diff --git a/net-mgmt/ap-utils/pkg-plist b/net-mgmt/ap-utils/pkg-plist
index 15f64283ef64..3964ed1dc7bc 100644
--- a/net-mgmt/ap-utils/pkg-plist
+++ b/net-mgmt/ap-utils/pkg-plist
@@ -2,11 +2,11 @@ bin/ap-config
bin/ap-mrtg
bin/ap-gl
sbin/ap-trapd
-share/locale/fr/LC_MESSAGES/ap-utils.mo
-share/locale/nl/LC_MESSAGES/ap-utils.mo
-share/locale/pl/LC_MESSAGES/ap-utils.mo
-share/locale/ro/LC_MESSAGES/ap-utils.mo
-share/locale/uk/LC_MESSAGES/ap-utils.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/ap-utils.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/ap-utils.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/ap-utils.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/ap-utils.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/ap-utils.mo
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/Ovislink-HOWTO.html
%%PORTDOCS%%%%DOCSDIR%%/HARDWARE-NOTES