Commit 613c2d1a authored by acm's avatar acm
Browse files

- New port: devel/derelict-sdl2

Dynamic bindings to SDL 2 version 2.0.5, SDL2_image, SDL2_mixer, SDL2_ttf, and
SDL2_net for the D Programming Language.

WWW: https://github.com/DerelictOrg/DerelictSDL2
parent 5b24d400
......@@ -420,6 +420,7 @@
SUBDIR += deforaos-libsystem
SUBDIR += deheader
SUBDIR += delta
SUBDIR += derelict-sdl2
SUBDIR += derelict-util
SUBDIR += desktop-file-utils
SUBDIR += dev86
......
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= derelict-sdl2
PORTVERSION= 2.1.4
CATEGORIES= devel
MASTER_SITES= https://github.com/DerelictOrg/DerelictSDL2/archive/
DISTNAME= ${PORTVERSION:S/^/v/}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= Dynamic bindings to SDL2 and its libraries for the D lang
LICENSE= BSL
BUILD_DEPENDS= ldmd2:lang/ldc \
dub:devel/dub \
${LOCALBASE}/lib/d/libDerelictUtil.a:devel/derelict-util
USES= dos2unix
WRKSRC= ${WRKDIR}/DerelictSDL2-${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/libDerelictSDL2.a ${STAGEDIR}${D_LIB_DIR}
cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
.include <bsd.port.mk>
TIMESTAMP = 1500697046
SHA256 (derelict-sdl2/v2.1.4.tar.gz) = d2c7a1fc3325d424307286c306610f2197269af35742d178f0cb6ce095c8dc27
SIZE (derelict-sdl2/v2.1.4.tar.gz) = 39277
Dynamic bindings to SDL 2 version 2.0.5, SDL2_image, SDL2_mixer, SDL2_ttf, and
SDL2_net for the D Programming Language.
WWW: https://github.com/DerelictOrg/DerelictSDL2
include/d/derelict/sdl2/functions.d
include/d/derelict/sdl2/image.d
include/d/derelict/sdl2/mixer.d
include/d/derelict/sdl2/net.d
include/d/derelict/sdl2/sdl.d
include/d/derelict/sdl2/ttf.d
include/d/derelict/sdl2/types.d
lib/d/libDerelictSDL2.a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment