diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-25 05:20:23 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-25 05:20:23 +0800 |
commit | 01da2cdba2cf6a5d196aaeb2e202581569a0729f (patch) | |
tree | ea17cd99964fe85a3fc702b076571e9e04a8813a | |
parent | 3843b73efe7b45bd41573db6849ebf43a4f33f51 (diff) | |
download | freebsd-ports-graphics-01da2cdba2cf6a5d196aaeb2e202581569a0729f.tar.gz freebsd-ports-graphics-01da2cdba2cf6a5d196aaeb2e202581569a0729f.tar.zst freebsd-ports-graphics-01da2cdba2cf6a5d196aaeb2e202581569a0729f.zip |
- Drop 8.x support
- Add LICENSE
- Switch to options helpers
- Simplify plist
Approved by: portmgr blanket
-rw-r--r-- | net-mgmt/wifimgr/Makefile | 27 | ||||
-rw-r--r-- | net-mgmt/wifimgr/pkg-plist | 4 |
2 files changed, 9 insertions, 22 deletions
diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile index fbbd5c2d16f..272710dc54b 100644 --- a/net-mgmt/wifimgr/Makefile +++ b/net-mgmt/wifimgr/Makefile @@ -11,31 +11,20 @@ MASTER_SITES= http://opal.com/freebsd/ports/net-mgmt/wifimgr/ \ MAINTAINER= fbsd@opal.com COMMENT= WiFi Networks Manager +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + USES= desktop-file-utils pkgconfig tar:bzip2 USE_XORG= x11 USE_GNOME= gtk20 INSTALLS_ICONS= yes +MAKE_ENV= INSTALL="install -U" OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 901504 -MAKE_ENV+= INSTALL="install -U" -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext pkgconfig -PLIST_SUB+= NLS="" -.else -CFLAGS+= -DWITHOUT_NLS -PLIST_SUB+= NLS="@comment " -MAKE_ENV+= WITHOUT_NLS=${WITHOUT_NLS} -.endif - -post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 901504 - @${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile -.endif +NLS_USES= gettext pkgconfig +NLS_CFLAGS_OFF= -DWITHOUT_NLS +NLS_MAKE_ENV_OFF= WITHOUT_NLS=yes .include <bsd.port.mk> diff --git a/net-mgmt/wifimgr/pkg-plist b/net-mgmt/wifimgr/pkg-plist index 4efa3420644..e804e2010ec 100644 --- a/net-mgmt/wifimgr/pkg-plist +++ b/net-mgmt/wifimgr/pkg-plist @@ -1,7 +1,5 @@ bin/wifimgr -@mode 4511 -libexec/wifimgrsu -@mode +@(,,4511) libexec/wifimgrsu man/man8/wifimgr.8.gz %%DATADIR%%/icons/eye.png %%DATADIR%%/icons/freebsd-surf.png |