From owner-svn-ports-head@freebsd.org Sun Jul 23 05:14:11 2017 Return-Path: Delivered-To: svn-ports-head@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 C354FC7C86A; Sun, 23 Jul 2017 05:14:11 +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 91EF473E2D; Sun, 23 Jul 2017 05:14:11 +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 v6N5EA2B015992; Sun, 23 Jul 2017 05:14:10 GMT (envelope-from acm@FreeBSD.org) Received: (from acm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6N5EAPP015987; Sun, 23 Jul 2017 05:14:10 GMT (envelope-from acm@FreeBSD.org) Message-Id: <201707230514.v6N5EAPP015987@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: acm set sender to acm@FreeBSD.org using -f From: Jose Alonso Cardenas Marquez Date: Sun, 23 Jul 2017 05:14:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446448 - in head/devel: . dfmt dfmt/files X-SVN-Group: ports-head X-SVN-Commit-Author: acm X-SVN-Commit-Paths: in head/devel: . dfmt dfmt/files X-SVN-Commit-Revision: 446448 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2017 05:14:11 -0000 Author: acm Date: Sun Jul 23 05:14:10 2017 New Revision: 446448 URL: https://svnweb.freebsd.org/changeset/ports/446448 Log: - New port: devel/dfmt dfmt is a formatter for D source code. dfmt is beta quality. Make backups of your files or use source control when using the --inplace option. WWW: https://github.com/dlang-community/dfmt Added: head/devel/dfmt/ head/devel/dfmt/Makefile (contents, props changed) head/devel/dfmt/distinfo (contents, props changed) head/devel/dfmt/files/ head/devel/dfmt/files/patch-dub.json (contents, props changed) head/devel/dfmt/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jul 23 04:49:17 2017 (r446447) +++ head/devel/Makefile Sun Jul 23 05:14:10 2017 (r446448) @@ -426,6 +426,7 @@ SUBDIR += dev86 SUBDIR += devhelp SUBDIR += devtodo + SUBDIR += dfmt SUBDIR += dfuife-curses SUBDIR += dia2code SUBDIR += dia2code+ Added: head/devel/dfmt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dfmt/Makefile Sun Jul 23 05:14:10 2017 (r446448) @@ -0,0 +1,33 @@ +# Created by: Alonso Cardenas Marquez +# $FreeBSD$ + +PORTNAME= dfmt +DISTVERSION= 0.5.0beta5 +CATEGORIES= devel +MASTER_SITES= https://github.com/dlang-community/dfmt/archive/ +DISTNAME= ${DISTVERSION:S/^/v/:S/beta5/-beta.5/} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= acm@FreeBSD.org +COMMENT= Formatter for D source code + +LICENSE= BSL + +BUILD_DEPENDS= ldmd2:lang/ldc \ + dub:devel/dub \ + ${LOCALBASE}/lib/d/libdparse.a:devel/libdparse + +PLIST_FILES= bin/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/beta5/-beta.5/} +DUB_CMD= ${LOCALBASE}/bin/dub build --build=release + +post-patch: + ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dub.json + +do-build: + @cd ${WRKSRC} && ${DUB_CMD} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + +.include Added: head/devel/dfmt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dfmt/distinfo Sun Jul 23 05:14:10 2017 (r446448) @@ -0,0 +1,3 @@ +TIMESTAMP = 1500780668 +SHA256 (dfmt/v0.5.0-beta.5.tar.gz) = 3d12017b6356db493eba44e46b75d3b87f0fc659a68c47c96562a90f9a2b634d +SIZE (dfmt/v0.5.0-beta.5.tar.gz) = 66900 Added: head/devel/dfmt/files/patch-dub.json ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dfmt/files/patch-dub.json Sun Jul 23 05:14:10 2017 (r446448) @@ -0,0 +1,12 @@ +--- dub.json.orig 2017-02-13 19:03:07 UTC ++++ dub.json +@@ -3,7 +3,6 @@ + "description": "Dfmt is a formatter for D source code", + "targetType": "executable", + "license": "BSL-1.0", +- "dependencies": { +- "libdparse": "~>0.7.0-beta.6" +- } ++ "libs": ["dparse"], ++ "lflags": ["-L%%LOCALBASE%%/lib/d"], + } Added: head/devel/dfmt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dfmt/pkg-descr Sun Jul 23 05:14:10 2017 (r446448) @@ -0,0 +1,4 @@ +dfmt is a formatter for D source code. dfmt is beta quality. Make backups of +your files or use source control when using the --inplace option. + +WWW: https://github.com/dlang-community/dfmt