Date: Sun, 23 Jul 2017 02:34:07 +0000 (UTC) From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446438 - in head/devel: . derelict-sdl2 Message-ID: <201707230234.v6N2Y7WB049732@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: acm Date: Sun Jul 23 02:34:07 2017 New Revision: 446438 URL: https://svnweb.freebsd.org/changeset/ports/446438 Log: - 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 Added: head/devel/derelict-sdl2/ head/devel/derelict-sdl2/Makefile (contents, props changed) head/devel/derelict-sdl2/distinfo (contents, props changed) head/devel/derelict-sdl2/pkg-descr (contents, props changed) head/devel/derelict-sdl2/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jul 23 02:33:04 2017 (r446437) +++ head/devel/Makefile Sun Jul 23 02:34:07 2017 (r446438) @@ -420,6 +420,7 @@ SUBDIR += deforaos-libsystem SUBDIR += deheader SUBDIR += delta + SUBDIR += derelict-sdl2 SUBDIR += derelict-util SUBDIR += desktop-file-utils SUBDIR += dev86 Added: head/devel/derelict-sdl2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/derelict-sdl2/Makefile Sun Jul 23 02:34:07 2017 (r446438) @@ -0,0 +1,38 @@ +# 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> Added: head/devel/derelict-sdl2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/derelict-sdl2/distinfo Sun Jul 23 02:34:07 2017 (r446438) @@ -0,0 +1,3 @@ +TIMESTAMP = 1500697046 +SHA256 (derelict-sdl2/v2.1.4.tar.gz) = d2c7a1fc3325d424307286c306610f2197269af35742d178f0cb6ce095c8dc27 +SIZE (derelict-sdl2/v2.1.4.tar.gz) = 39277 Added: head/devel/derelict-sdl2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/derelict-sdl2/pkg-descr Sun Jul 23 02:34:07 2017 (r446438) @@ -0,0 +1,4 @@ +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 Added: head/devel/derelict-sdl2/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/derelict-sdl2/pkg-plist Sun Jul 23 02:34:07 2017 (r446438) @@ -0,0 +1,8 @@ +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707230234.v6N2Y7WB049732>