svn commit: r397768 - head/net-mgmt/wifimgr
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Sep 24 21:20:25 UTC 2015
Author: amdmi3
Date: Thu Sep 24 21:20:23 2015
New Revision: 397768
URL: https://svnweb.freebsd.org/changeset/ports/397768
Log:
- Drop 8.x support
- Add LICENSE
- Switch to options helpers
- Simplify plist
Approved by: portmgr blanket
Modified:
head/net-mgmt/wifimgr/Makefile
head/net-mgmt/wifimgr/pkg-plist
Modified: head/net-mgmt/wifimgr/Makefile
==============================================================================
--- head/net-mgmt/wifimgr/Makefile Thu Sep 24 21:20:13 2015 (r397767)
+++ head/net-mgmt/wifimgr/Makefile Thu Sep 24 21:20:23 2015 (r397768)
@@ -11,31 +11,20 @@ MASTER_SITES= http://opal.com/freebsd/po
MAINTAINER= fbsd at 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>
Modified: head/net-mgmt/wifimgr/pkg-plist
==============================================================================
--- head/net-mgmt/wifimgr/pkg-plist Thu Sep 24 21:20:13 2015 (r397767)
+++ head/net-mgmt/wifimgr/pkg-plist Thu Sep 24 21:20:23 2015 (r397768)
@@ -1,7 +1,5 @@
bin/wifimgr
- at mode 4511
-libexec/wifimgrsu
- at mode
+@(,,4511) libexec/wifimgrsu
man/man8/wifimgr.8.gz
%%DATADIR%%/icons/eye.png
%%DATADIR%%/icons/freebsd-surf.png
More information about the svn-ports-head
mailing list