Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2018 18:04:40 +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: r472474 - in head/devel: . isfreedesktop
Message-ID:  <201806151804.w5FI4egj063983@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Fri Jun 15 18:04:40 2018
New Revision: 472474
URL: https://svnweb.freebsd.org/changeset/ports/472474

Log:
  - New port: devel/isfreedesktop
  
  D programming language compile-time constant for Freedesktop
  
  WWW: https://github.com/FreeSlave/isfreedesktop

Added:
  head/devel/isfreedesktop/
  head/devel/isfreedesktop/Makefile   (contents, props changed)
  head/devel/isfreedesktop/distinfo   (contents, props changed)
  head/devel/isfreedesktop/pkg-descr   (contents, props changed)
  head/devel/isfreedesktop/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Jun 15 17:57:39 2018	(r472473)
+++ head/devel/Makefile	Fri Jun 15 18:04:40 2018	(r472474)
@@ -1225,6 +1225,7 @@
     SUBDIR += ipython
     SUBDIR += ireport
     SUBDIR += isa-l
+    SUBDIR += isfreedesktop
     SUBDIR += isl
     SUBDIR += ispc
     SUBDIR += itext

Added: head/devel/isfreedesktop/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/isfreedesktop/Makefile	Fri Jun 15 18:04:40 2018	(r472474)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	isfreedesktop
+PORTVERSION=	0.1.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	D programming to test if target platform is freedesktop
+
+LICENSE=	BSL
+
+BUILD_DEPENDS=	ldmd2:lang/ldc \
+		dub:devel/dub
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	FreeSlave
+
+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}/lib/libisfreedesktop.a ${STAGEDIR}${D_LIB_DIR}
+	cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
+
+.include <bsd.port.mk>

Added: head/devel/isfreedesktop/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/isfreedesktop/distinfo	Fri Jun 15 18:04:40 2018	(r472474)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513180165
+SHA256 (FreeSlave-isfreedesktop-v0.1.1_GH0.tar.gz) = 3aefde7495a6f3a918be29bdeb99de3d1dafd24833a22f71eba8b61131e1f7fe
+SIZE (FreeSlave-isfreedesktop-v0.1.1_GH0.tar.gz) = 1996

Added: head/devel/isfreedesktop/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/isfreedesktop/pkg-descr	Fri Jun 15 18:04:40 2018	(r472474)
@@ -0,0 +1,3 @@
+D programming language compile-time constant for Freedesktop
+
+WWW: https://github.com/FreeSlave/isfreedesktop

Added: head/devel/isfreedesktop/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/isfreedesktop/pkg-plist	Fri Jun 15 18:04:40 2018	(r472474)
@@ -0,0 +1,2 @@
+include/d/isfreedesktop.d
+lib/d/libisfreedesktop.a



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