Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2018 23:50:22 +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: r460652 - in head/devel/d-scanner: . files
Message-ID:  <201802012350.w11NoMxX056807@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Thu Feb  1 23:50:22 2018
New Revision: 460652
URL: https://svnweb.freebsd.org/changeset/ports/460652

Log:
  - Update to 0.4.2

Modified:
  head/devel/d-scanner/Makefile
  head/devel/d-scanner/distinfo
  head/devel/d-scanner/files/patch-dub.json

Modified: head/devel/d-scanner/Makefile
==============================================================================
--- head/devel/d-scanner/Makefile	Thu Feb  1 23:49:53 2018	(r460651)
+++ head/devel/d-scanner/Makefile	Thu Feb  1 23:50:22 2018	(r460652)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	d-scanner
-PORTVERSION=	0.4.0
+PORTVERSION=	0.4.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -22,14 +22,18 @@ BUILD_DEPENDS=	ldmd2:lang/ldc \
 USE_GITHUB=	yes
 GH_ACCOUNT=	dlang-community
 GH_PROJECT=	D-Scanner
+GH_TAGNAME=	d610df2
 
 PLIST_FILES=	bin/dscanner
 DUB_CMD=	${LOCALBASE}/bin/dub build --build=release
 
+post-patch:
+	${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/dub.json
+
 do-build:
 	@cd ${WRKSRC} && ${DUB_CMD}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/dscanner ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/dscanner ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

Modified: head/devel/d-scanner/distinfo
==============================================================================
--- head/devel/d-scanner/distinfo	Thu Feb  1 23:49:53 2018	(r460651)
+++ head/devel/d-scanner/distinfo	Thu Feb  1 23:50:22 2018	(r460652)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1501064178
-SHA256 (dlang-community-D-Scanner-v0.4.0_GH0.tar.gz) = 6deea211e538f36e7e1731e8e620da07fbd1918b1be4b0dc081535e194647570
-SIZE (dlang-community-D-Scanner-v0.4.0_GH0.tar.gz) = 56904
+TIMESTAMP = 1517526651
+SHA256 (dlang-community-D-Scanner-v0.4.2-d610df2_GH0.tar.gz) = cf947393b10ebdb6b0c6e54486ee1d2b02359ad79a7836b789342cc6492d9381
+SIZE (dlang-community-D-Scanner-v0.4.2-d610df2_GH0.tar.gz) = 76234

Modified: head/devel/d-scanner/files/patch-dub.json
==============================================================================
--- head/devel/d-scanner/files/patch-dub.json	Thu Feb  1 23:49:53 2018	(r460651)
+++ head/devel/d-scanner/files/patch-dub.json	Thu Feb  1 23:50:22 2018	(r460652)
@@ -1,15 +1,19 @@
---- dub.json.orig	2017-02-13 22:32:31 UTC
-+++ dub.json
-@@ -6,10 +6,6 @@
- 	"license" : "Boost Software License - Version 1.0",
- 	"targetType": "executable",
- 	"versions": ["built_with_dub"],
--	"dependencies": {
--		"libdparse": "~>0.7.0",
--		"dsymbol": "~>0.2.0",
--		"inifiled": ">=0.0.6",
--		"emsi_containers": "~>0.5.3"
--	},
-+        "lflags":["-L/usr/local/lib/d"],
-+        "libs" : ["dparse","inifiled","dsymbol","emsi_containers"],
+--- dub.json.orig	2017-11-04 14:57:42.000000000 -0500
++++ dub.json	2017-12-13 10:12:16.502483000 -0500
+@@ -11,12 +11,8 @@
+     "built_with_dub",
+     "StdLoggerDisableWarning"
+   ],
+-  "dependencies" : {
+-    "libdparse" : "~>0.8.0-alpha.1",
+-    "dsymbol" : "~>0.3.0-alpha.1",
+-    "inifiled" : ">=1.0.2",
+-    "emsi_containers" : "~>0.6.0",
+-    "libddoc" : "~>0.3.0-beta.1"
+-  },
+-  "targetPath" : "bin"
++
++  "targetPath" : "bin",
++  "lflags":["-L%%LOCALBASE%%/lib/d"],
++  "libs" : ["dparse","inifiled","dsymbol","emsi_containers","ddoc"],
  }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802012350.w11NoMxX056807>