From owner-svn-ports-all@freebsd.org Tue Feb 28 18:03:00 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCF10CF1765; Tue, 28 Feb 2017 18:03:00 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97783D14; Tue, 28 Feb 2017 18:03:00 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1SI2xOa067877; Tue, 28 Feb 2017 18:02:59 GMT (envelope-from acm@FreeBSD.org) Received: (from acm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1SI2xeN067873; Tue, 28 Feb 2017 18:02:59 GMT (envelope-from acm@FreeBSD.org) Message-Id: <201702281802.v1SI2xeN067873@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: acm set sender to acm@FreeBSD.org using -f From: Jose Alonso Cardenas Marquez Date: Tue, 28 Feb 2017 18:02:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435074 - in head/devel: . dub X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2017 18:03:00 -0000 Author: acm Date: Tue Feb 28 18:02:59 2017 New Revision: 435074 URL: https://svnweb.freebsd.org/changeset/ports/435074 Log: - New port: devel/dub DUB emerged as a more general replacement for vibe.d's package manager. It does not imply a dependency to vibe.d for packages and was extended to not only directly build projects, but also to generate project files (currently VisualD). Mono-D also supports the use of dub.json (dub's package description) as the project file. The project's philosophy is to keep things as simple as possible. All that is needed to make a project a dub package is to write a short dub.json file and put the source code into a source subfolder. It can then be registered on the public package registry to be made available for everyone. Any dependencies specified in dub.json are automatically downloaded and made available to the project during the build process. WWW: https://github.com/dlang/dub Added: head/devel/dub/ head/devel/dub/Makefile (contents, props changed) head/devel/dub/distinfo (contents, props changed) head/devel/dub/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Feb 28 17:58:52 2017 (r435073) +++ head/devel/Makefile Tue Feb 28 18:02:59 2017 (r435074) @@ -426,6 +426,7 @@ SUBDIR += dreampie SUBDIR += drpython SUBDIR += ds2 + SUBDIR += dub SUBDIR += dulwich SUBDIR += duplo SUBDIR += dwarfdump Added: head/devel/dub/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dub/Makefile Tue Feb 28 18:02:59 2017 (r435074) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= dub +PORTVERSION= 1.2.1 +CATEGORIES= devel +MASTER_SITES= https://github.com/dlang/dub/archive/ +DISTFILES= v${PORTVERSION}.tar.gz +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= acm@FreeBSD.org +COMMENT= Package and build manager for D applications and libraries + +BUILD_DEPENDS= ldmd2:lang/ldc +LIB_DEPENDS= libcurl.so:ftp/curl + +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PLIST_FILES= bin/${PORTNAME} \ + %%DATADIR%%/LICENSE + +do-build: + @cd ${WRKSRC} && ${SH} build.sh + +do-install: + @${MKDIR} ${STAGEDIR}/${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}/${DATADIR}/LICENSE + +.include Added: head/devel/dub/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dub/distinfo Tue Feb 28 18:02:59 2017 (r435074) @@ -0,0 +1,3 @@ +TIMESTAMP = 1488296336 +SHA256 (dub/v1.2.1.tar.gz) = e880cf9ca6234f751a53a427eba71b8d5585b6b660d6a489458f638d2ff60554 +SIZE (dub/v1.2.1.tar.gz) = 1139223 Added: head/devel/dub/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dub/pkg-descr Tue Feb 28 18:02:59 2017 (r435074) @@ -0,0 +1,15 @@ +DUB emerged as a more general replacement for vibe.d's package manager. It does +not imply a dependency to vibe.d for packages and was extended to not only +directly build projects, but also to generate project files (currently VisualD). + +Mono-D also supports the use of dub.json (dub's package description) as the +project file. + +The project's philosophy is to keep things as simple as possible. All that is +needed to make a project a dub package is to write a short dub.json file and +put the source code into a source subfolder. It can then be registered on the +public package registry to be made available for everyone. Any dependencies +specified in dub.json are automatically downloaded and made available to the +project during the build process. + +WWW: https://github.com/dlang/dub