Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2018 15:32:21 +0000 (UTC)
From:      Michael Reifenberger <mr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479774 - in head/x11-toolkits: . p5-Wx-GLCanvas
Message-ID:  <201809141532.w8EFWLli028135@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mr
Date: Fri Sep 14 15:32:20 2018
New Revision: 479774
URL: https://svnweb.freebsd.org/changeset/ports/479774

Log:
  Add Wx::GLCanvas

Added:
  head/x11-toolkits/p5-Wx-GLCanvas/
  head/x11-toolkits/p5-Wx-GLCanvas/Makefile   (contents, props changed)
  head/x11-toolkits/p5-Wx-GLCanvas/distinfo   (contents, props changed)
  head/x11-toolkits/p5-Wx-GLCanvas/pkg-descr   (contents, props changed)
  head/x11-toolkits/p5-Wx-GLCanvas/pkg-plist   (contents, props changed)
Modified:
  head/x11-toolkits/Makefile

Modified: head/x11-toolkits/Makefile
==============================================================================
--- head/x11-toolkits/Makefile	Fri Sep 14 12:26:56 2018	(r479773)
+++ head/x11-toolkits/Makefile	Fri Sep 14 15:32:20 2018	(r479774)
@@ -188,6 +188,7 @@
     SUBDIR += p5-Tk-ToolBar
     SUBDIR += p5-Tk-WaitBox
     SUBDIR += p5-Wx
+    SUBDIR += p5-Wx-GLCanvas
     SUBDIR += p5-Wx-Perl-ProcessStream
     SUBDIR += pango
     SUBDIR += pango-reference

Added: head/x11-toolkits/p5-Wx-GLCanvas/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/p5-Wx-GLCanvas/Makefile	Fri Sep 14 15:32:20 2018	(r479774)
@@ -0,0 +1,41 @@
+# Created by: mr
+# $FreeBSD$
+
+PORTNAME=	Wx-GLCanvas
+PORTVERSION=	0.09
+PORTREVISION=	1
+CATEGORIES=	x11-toolkits perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:MBARBON
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	mr@FreeBSD.org
+COMMENT=	Perl interface to wxWidgets' OpenGL canvas
+
+BUILD_DEPENDS=  p5-OpenGL>=0.66:graphics/p5-OpenGL \
+		p5-Wx>=0.5000:x11-toolkits/p5-Wx
+RUN_DEPENDS=    p5-OpenGL>=0.66:graphics/p5-OpenGL \
+		p5-Wx>=0.5000:x11-toolkits/p5-Wx
+
+#MANUAL_PACKAGE_BUILD=	needs the X server it will be used with to build
+
+PORTSCOUT=	limit:^[0-9\.]*$$
+
+USES=           compiler:c++11-lib perl5
+USE_CXXSTD=     c++11
+USE_PERL5=      configure
+USE_WX=         3.0
+CONFIGURE_ENV=  CXX="${CXX}"
+
+CFLAGS+=        -pthread -Wno-write-strings -I${LOCALBASE}/include
+
+post-configure:
+	@${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} \
+		${REINPLACE_CMD} -e \
+		's|$$(CC)|$$(CXX)|g ; \
+		s|$$(CCFLAGS)|$$(CXXFLAGS)|g'
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>

Added: head/x11-toolkits/p5-Wx-GLCanvas/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/p5-Wx-GLCanvas/distinfo	Fri Sep 14 15:32:20 2018	(r479774)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1536929122
+SHA256 (Wx-GLCanvas-0.09.tar.gz) = 6ad2c29ff06ff80a5c8b4b9d1d6bf0aed57489e831be59c94494f4f688dc8fe0
+SIZE (Wx-GLCanvas-0.09.tar.gz) = 13910

Added: head/x11-toolkits/p5-Wx-GLCanvas/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/p5-Wx-GLCanvas/pkg-descr	Fri Sep 14 15:32:20 2018	(r479774)
@@ -0,0 +1,5 @@
+Wx::GLCanvas - interface to wxWidgets' OpenGL canvas
+
+The documentation for this module is included in the main wxPerl distribution (wxGLCanvas).
+
+WWW: https://metacpan.org/release/Wx-GLCanvas

Added: head/x11-toolkits/p5-Wx-GLCanvas/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/p5-Wx-GLCanvas/pkg-plist	Fri Sep 14 15:32:20 2018	(r479774)
@@ -0,0 +1,5 @@
+%%SITE_ARCH%%/Wx/DemoModules/wxGLCanvas.pm
+%%SITE_ARCH%%/Wx/GLCanvas.pm
+%%SITE_ARCH%%/auto/Wx/GLCanvas/.packlist
+%%SITE_ARCH%%/auto/Wx/GLCanvas/GLCanvas.so
+%%PERL5_MAN3%%/Wx::GLCanvas.3.gz



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