diff options
author | acm <acm@FreeBSD.org> | 2017-07-23 10:42:03 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2017-07-23 10:42:03 +0800 |
commit | 8c06c155e3d4ec967150b4c6b6428e8b0631c798 (patch) | |
tree | 4ee90a4bdd738886ac0689e9c2362f5fc30cd7a5 /graphics | |
parent | 613c2d1a38ee736d3fe16a034b3d174dc34a2025 (diff) | |
download | freebsd-ports-gnome-8c06c155e3d4ec967150b4c6b6428e8b0631c798.tar.gz freebsd-ports-gnome-8c06c155e3d4ec967150b4c6b6428e8b0631c798.tar.zst freebsd-ports-gnome-8c06c155e3d4ec967150b4c6b6428e8b0631c798.zip |
- New port: derelict-grl3
A dynamic binding to OpenGL for the D Programming Language
WWW: https://github.com/DerelictOrg/DerelictGL3
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/derelict-gl3/Makefile | 37 | ||||
-rw-r--r-- | graphics/derelict-gl3/distinfo | 3 | ||||
-rw-r--r-- | graphics/derelict-gl3/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/derelict-gl3/pkg-plist | 16 |
5 files changed, 60 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index aaec72de0de1..5fffa3836df8 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -135,6 +135,7 @@ SUBDIR += deegree-wps SUBDIR += deegree-wpvs SUBDIR += delaboratory + SUBDIR += derelict-gl3 SUBDIR += devil SUBDIR += dia SUBDIR += diacanvas2 diff --git a/graphics/derelict-gl3/Makefile b/graphics/derelict-gl3/Makefile new file mode 100644 index 000000000000..a5cec60856a7 --- /dev/null +++ b/graphics/derelict-gl3/Makefile @@ -0,0 +1,37 @@ +# Created by: Alonso Cardenas Marquez <acm@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@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> diff --git a/graphics/derelict-gl3/distinfo b/graphics/derelict-gl3/distinfo new file mode 100644 index 000000000000..707f79aec2cc --- /dev/null +++ b/graphics/derelict-gl3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1500697595 +SHA256 (derelict-gl3/v1.0.23.tar.gz) = 7432d2b3d947a83d2d44a403611c4dde25a4a61247184a612fe81e5054e47d3e +SIZE (derelict-gl3/v1.0.23.tar.gz) = 87322 diff --git a/graphics/derelict-gl3/pkg-descr b/graphics/derelict-gl3/pkg-descr new file mode 100644 index 000000000000..3c8ae5c66bf7 --- /dev/null +++ b/graphics/derelict-gl3/pkg-descr @@ -0,0 +1,3 @@ +A dynamic binding to OpenGL for the D Programming Language + +WWW: https://github.com/DerelictOrg/DerelictGL3 diff --git a/graphics/derelict-gl3/pkg-plist b/graphics/derelict-gl3/pkg-plist new file mode 100644 index 000000000000..89746e68d837 --- /dev/null +++ b/graphics/derelict-gl3/pkg-plist @@ -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 |