svn commit: r455309 - head/x11-toolkits/wxgtk30

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Dec 1 20:53:01 UTC 2017


Author: amdmi3
Date: Fri Dec  1 20:53:00 2017
New Revision: 455309
URL: https://svnweb.freebsd.org/changeset/ports/455309

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to USE_CXXSTD
  
  Approved by:	portmgr blanket

Modified:
  head/x11-toolkits/wxgtk30/Makefile

Modified: head/x11-toolkits/wxgtk30/Makefile
==============================================================================
--- head/x11-toolkits/wxgtk30/Makefile	Fri Dec  1 20:49:18 2017	(r455308)
+++ head/x11-toolkits/wxgtk30/Makefile	Fri Dec  1 20:53:00 2017	(r455309)
@@ -11,15 +11,19 @@ DISTNAME=	wxWidgets-${PORTVERSION}
 MAINTAINER=	portmaster at bsdforge.com
 COMMENT=	The wxWidgets GUI toolkit with GTK+ bindings
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/docs/gpl.txt
+
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libtiff.so:graphics/tiff \
 		libexpat.so:textproc/expat2
 
-USES=		compiler:c++11-lib gmake iconv jpeg pkgconfig tar:bzip2
+USES=		compiler:c++11-lib gmake iconv jpeg localbase pkgconfig tar:bzip2
 USE_XORG=	x11 sm xxf86vm xinerama
 USE_GL=		glu
 USE_GNOME=	gtk20
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++11
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-libpng=sys \
 		--with-libjpeg=sys \
@@ -34,10 +38,6 @@ CONFIGURE_ARGS=	--with-libpng=sys \
 		--enable-compat28
 CONFIGURE_ENV=	X11BASE="${LOCALBASE}" \
 		ac_cv_header_sys_inotify_h=no
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-CXXFLAGS+=	-std=c++11
-LIBS+=		-L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=	GSTREAMER MSPACK NLS WEBKIT
 OPTIONS_DEFAULT=GSTREAMER MSPACK WEBKIT


More information about the svn-ports-head mailing list