Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 21:20:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397768 - head/net-mgmt/wifimgr
Message-ID:  <201509242120.t8OLKOJM049039@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
-@mode 4511
-libexec/wifimgrsu
-@mode
+@(,,4511) libexec/wifimgrsu
 man/man8/wifimgr.8.gz
 %%DATADIR%%/icons/eye.png
 %%DATADIR%%/icons/freebsd-surf.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509242120.t8OLKOJM049039>