diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2014-05-16 21:32:51 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2014-05-16 21:32:51 +0000 |
commit | 6b70301cee746857274690beb364affb06cd54c9 (patch) | |
tree | 0134bbcf65a4e400fc2455d0a727050f141e333d /net-mgmt | |
parent | 9f7e5b86e2c8a308f4ddf979dd4e2791a5cefabd (diff) | |
download | ports-6b70301cee746857274690beb364affb06cd54c9.tar.gz ports-6b70301cee746857274690beb364affb06cd54c9.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/wifimgr/Makefile | 10 | ||||
-rw-r--r-- | net-mgmt/wifimgr/pkg-plist | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile index 5eb32d77563d..8cf7cd931eb9 100644 --- a/net-mgmt/wifimgr/Makefile +++ b/net-mgmt/wifimgr/Makefile @@ -3,6 +3,7 @@ PORTNAME= wifimgr PORTVERSION= 1.11 +PORTREVISION= 1 CATEGORIES= net-mgmt sysutils MASTER_SITES= http://opal.com/freebsd/ports/net-mgmt/wifimgr/ \ CRITICAL @@ -19,6 +20,10 @@ OPTIONS_DEFINE= NLS .include <bsd.port.options.mk> +.if ${OSVERSION} >= 901504 +MAKE_ENV+= INSTALL="install -U" +.endif + .if ${PORT_OPTIONS:MNLS} USES+= gettext pkgconfig PLIST_SUB+= NLS="" @@ -28,4 +33,9 @@ PLIST_SUB+= NLS="@comment " MAKE_ENV+= WITHOUT_NLS=${WITHOUT_NLS} .endif +post-patch: +.if ${OSVERSION} < 901504 + @${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile +.endif + .include <bsd.port.mk> diff --git a/net-mgmt/wifimgr/pkg-plist b/net-mgmt/wifimgr/pkg-plist index 123efc0fe0bc..ea62df3c3abb 100644 --- a/net-mgmt/wifimgr/pkg-plist +++ b/net-mgmt/wifimgr/pkg-plist @@ -1,5 +1,7 @@ bin/wifimgr +@mode 4511 libexec/wifimgrsu +@mode man/man8/wifimgr.8.gz %%DATADIR%%/icons/eye.png %%DATADIR%%/icons/freebsd-surf.png |