svn commit: r446439 - in head/graphics: . derelict-gl3

Jose Alonso Cardenas Marquez acm at FreeBSD.org
Sun Jul 23 02:42:04 UTC 2017


Author: acm
Date: Sun Jul 23 02:42:03 2017
New Revision: 446439
URL: https://svnweb.freebsd.org/changeset/ports/446439

Log:
  - New port: derelict-grl3
  
  A dynamic binding to OpenGL for the D Programming Language
  
  WWW: https://github.com/DerelictOrg/DerelictGL3

Added:
  head/graphics/derelict-gl3/
  head/graphics/derelict-gl3/Makefile   (contents, props changed)
  head/graphics/derelict-gl3/distinfo   (contents, props changed)
  head/graphics/derelict-gl3/pkg-descr   (contents, props changed)
  head/graphics/derelict-gl3/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Jul 23 02:34:07 2017	(r446438)
+++ head/graphics/Makefile	Sun Jul 23 02:42:03 2017	(r446439)
@@ -135,6 +135,7 @@
     SUBDIR += deegree-wps
     SUBDIR += deegree-wpvs
     SUBDIR += delaboratory
+    SUBDIR += derelict-gl3
     SUBDIR += devil
     SUBDIR += dia
     SUBDIR += diacanvas2

Added: head/graphics/derelict-gl3/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/derelict-gl3/Makefile	Sun Jul 23 02:42:03 2017	(r446439)
@@ -0,0 +1,37 @@
+# Created by: Alonso Cardenas Marquez <acm at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	derelict-gl3
+PORTVERSION=	1.0.23
+CATEGORIES=	graphics
+MASTER_SITES=	https://github.com/DerelictOrg/DerelictGL3/archive/
+DISTNAME=	${PORTVERSION:S/^/v/}
+DIST_SUBDIR=	${PORTNAME}
+
+MAINTAINER=	acm at FreeBSD.org
+COMMENT=	Dynamic binding to OpenGL for the D Programming Language
+
+LICENSE=	BSL
+
+BUILD_DEPENDS=	ldmd2:lang/ldc \
+		dub:devel/dub \
+		${LOCALBASE}/lib/d/libDerelictUtil.a:devel/derelict-util
+
+WRKSRC=		${WRKDIR}/DerelictGL3-${PORTVERSION}
+DUB_CMD=	${LOCALBASE}/bin/dub build --build=release
+D_INCLUDE_DIR=	${PREFIX}/include/d
+D_LIB_DIR=	${PREFIX}/lib/d
+
+post-patch:
+	@${REINPLACE_CMD} -e '13,15d' ${WRKSRC}/dub.json
+
+do-build:
+	@cd ${WRKSRC} && ${DUB_CMD}
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR}
+	@${MKDIR} ${STAGEDIR}${D_LIB_DIR}
+	${INSTALL_DATA} ${WRKSRC}/lib/libDerelictGL3.a ${STAGEDIR}${D_LIB_DIR}
+	cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
+
+.include <bsd.port.mk>

Added: head/graphics/derelict-gl3/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/derelict-gl3/distinfo	Sun Jul 23 02:42:03 2017	(r446439)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1500697595
+SHA256 (derelict-gl3/v1.0.23.tar.gz) = 7432d2b3d947a83d2d44a403611c4dde25a4a61247184a612fe81e5054e47d3e
+SIZE (derelict-gl3/v1.0.23.tar.gz) = 87322

Added: head/graphics/derelict-gl3/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/derelict-gl3/pkg-descr	Sun Jul 23 02:42:03 2017	(r446439)
@@ -0,0 +1,3 @@
+A dynamic binding to OpenGL for the D Programming Language
+
+WWW: https://github.com/DerelictOrg/DerelictGL3

Added: head/graphics/derelict-gl3/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/derelict-gl3/pkg-plist	Sun Jul 23 02:42:03 2017	(r446439)
@@ -0,0 +1,16 @@
+include/d/derelict/opengl3/arb.d
+include/d/derelict/opengl3/cgl.d
+include/d/derelict/opengl3/constants.d
+include/d/derelict/opengl3/deprecatedConstants.d
+include/d/derelict/opengl3/deprecatedFunctions.d
+include/d/derelict/opengl3/ext.d
+include/d/derelict/opengl3/functions.d
+include/d/derelict/opengl3/gl.d
+include/d/derelict/opengl3/gl3.d
+include/d/derelict/opengl3/glx.d
+include/d/derelict/opengl3/glxext.d
+include/d/derelict/opengl3/internal.d
+include/d/derelict/opengl3/types.d
+include/d/derelict/opengl3/wgl.d
+include/d/derelict/opengl3/wglext.d
+lib/d/libDerelictGL3.a


More information about the svn-ports-all mailing list