Date: Sat, 22 Jul 2017 03:28:13 +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: r446360 - in head/devel: . libdparse Message-ID: <201707220328.v6M3SDpn079136@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: acm Date: Sat Jul 22 03:28:13 2017 New Revision: 446360 URL: https://svnweb.freebsd.org/changeset/ports/446360 Log: - New port: devel/libdparse Library for lexing and parsing D source code. WWW: https://github.com/dlang-community/libdparse Added: head/devel/libdparse/ head/devel/libdparse/Makefile (contents, props changed) head/devel/libdparse/distinfo (contents, props changed) head/devel/libdparse/pkg-descr (contents, props changed) head/devel/libdparse/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jul 22 03:26:45 2017 (r446359) +++ head/devel/Makefile Sat Jul 22 03:28:13 2017 (r446360) @@ -1298,6 +1298,7 @@ SUBDIR += libdnsres SUBDIR += libdombey SUBDIR += libdouble-conversion + SUBDIR += libdparse SUBDIR += libds SUBDIR += libdsp SUBDIR += libdwarf Added: head/devel/libdparse/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libdparse/Makefile Sat Jul 22 03:28:13 2017 (r446360) @@ -0,0 +1,33 @@ +# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= libdparse +DISTVERSION= 0.7.1beta6 +CATEGORIES= devel +MASTER_SITES= https://github.com/dlang-community/libdparse/archive/ +DISTNAME= ${DISTVERSION:S/^/v/:S/beta6/-beta.6/} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= acm@FreeBSD.org +COMMENT= Library for lexing and parsing D source code + +LICENSE= BSL + +BUILD_DEPENDS= ldmd2:lang/ldc \ + dub:devel/dub + +WRKSRC= ${WRKDIR}/libdparse-${DISTVERSION:S/beta6/-beta.6/} +DUB_CMD= ${LOCALBASE}/bin/dub build --build=release +D_INCLUDE_DIR= ${PREFIX}/include/d +D_LIB_DIR= ${PREFIX}/lib/d + +do-build: + @cd ${WRKSRC} && ${DUB_CMD} + +do-install: + @${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR} + @${MKDIR} ${STAGEDIR}${D_LIB_DIR} + ${INSTALL_DATA} ${WRKSRC}/libdparse.a ${STAGEDIR}${D_LIB_DIR} + cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d" + +.include <bsd.port.mk> Added: head/devel/libdparse/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libdparse/distinfo Sat Jul 22 03:28:13 2017 (r446360) @@ -0,0 +1,3 @@ +TIMESTAMP = 1500614031 +SHA256 (libdparse/v0.7.1-beta.6.tar.gz) = 6f913406c380d75d15ed4ae5b83123461829c9b626d16d790305796d3e3d2aed +SIZE (libdparse/v0.7.1-beta.6.tar.gz) = 108509 Added: head/devel/libdparse/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libdparse/pkg-descr Sat Jul 22 03:28:13 2017 (r446360) @@ -0,0 +1,3 @@ +Library for lexing and parsing D source code. + +WWW: https://github.com/dlang-community/libdparse Added: head/devel/libdparse/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libdparse/pkg-plist Sat Jul 22 03:28:13 2017 (r446360) @@ -0,0 +1,9 @@ +include/d/dparse/ast.d +include/d/dparse/entities.d +include/d/dparse/formatter.d +include/d/dparse/lexer.d +include/d/dparse/parser.d +include/d/dparse/rollback_allocator.d +include/d/dparse/stack_buffer.d +include/d/std/experimental/lexer.d +lib/d/libdparse.a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707220328.v6M3SDpn079136>