Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2017 02:43:37 +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: r446440 - in head/print: . derelict-ft
Message-ID:  <201707230243.v6N2hb2C053933@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Sun Jul 23 02:43:37 2017
New Revision: 446440
URL: https://svnweb.freebsd.org/changeset/ports/446440

Log:
  - New port: print/derelict-ft
  
  A dynamic binding to version 2.6 and 2.7 of the FreeType library for the D
  Programming Language
  
  WWW: https://github.com/DerelictOrg/DerelictFT

Added:
  head/print/derelict-ft/
  head/print/derelict-ft/Makefile   (contents, props changed)
  head/print/derelict-ft/distinfo   (contents, props changed)
  head/print/derelict-ft/pkg-descr   (contents, props changed)
  head/print/derelict-ft/pkg-plist   (contents, props changed)
Modified:
  head/print/Makefile

Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile	Sun Jul 23 02:42:03 2017	(r446439)
+++ head/print/Makefile	Sun Jul 23 02:43:37 2017	(r446440)
@@ -31,6 +31,7 @@
     SUBDIR += cups-pk-helper
     SUBDIR += cups-smb-backend
     SUBDIR += deforaos-pdfviewer
+    SUBDIR += derelict-ft
     SUBDIR += detex
     SUBDIR += dot2tex
     SUBDIR += dvi2tty

Added: head/print/derelict-ft/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/derelict-ft/Makefile	Sun Jul 23 02:43:37 2017	(r446440)
@@ -0,0 +1,37 @@
+# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	derelict-ft
+PORTVERSION=	1.1.3
+CATEGORIES=	print
+MASTER_SITES=	https://github.com/DerelictOrg/DerelictFT/archive/
+DISTNAME=	${PORTVERSION:S/^/v/}
+DIST_SUBDIR=	${PORTNAME}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	Dynamic binding to the FreeType library for the D lang
+
+LICENSE=	BSL
+
+BUILD_DEPENDS=	ldmd2:lang/ldc \
+		dub:devel/dub \
+		${LOCALBASE}/lib/d/libDerelictUtil.a:devel/derelict-util
+
+WRKSRC=		${WRKDIR}/DerelictFT-${PORTVERSION}
+DUB_CMD=	${LOCALBASE}/bin/dub build --build=release
+D_INCLUDE_DIR=	${PREFIX}/include/d
+D_LIB_DIR=	${PREFIX}/lib/d
+
+post-patch:
+	@${REINPLACE_CMD} -e '13,15d' ${WRKSRC}/dub.json
+
+do-build:
+	@cd ${WRKSRC} && ${DUB_CMD}
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR}
+	@${MKDIR} ${STAGEDIR}${D_LIB_DIR}
+	${INSTALL_DATA} ${WRKSRC}/lib/libDerelictFT.a ${STAGEDIR}${D_LIB_DIR}
+	cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
+
+.include <bsd.port.mk>

Added: head/print/derelict-ft/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/derelict-ft/distinfo	Sun Jul 23 02:43:37 2017	(r446440)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1500698108
+SHA256 (derelict-ft/v1.1.3.tar.gz) = 135eae5d154c8537cff2e08267a22f58ee05f93f8b5f974016cde085c64c4ff7
+SIZE (derelict-ft/v1.1.3.tar.gz) = 22608

Added: head/print/derelict-ft/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/derelict-ft/pkg-descr	Sun Jul 23 02:43:37 2017	(r446440)
@@ -0,0 +1,4 @@
+A dynamic binding to version 2.6 and 2.7 of the FreeType library for the D 
+Programming Language
+
+WWW: https://github.com/DerelictOrg/DerelictFT

Added: head/print/derelict-ft/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/derelict-ft/pkg-plist	Sun Jul 23 02:43:37 2017	(r446440)
@@ -0,0 +1,4 @@
+include/d/derelict/freetype/ft.d
+include/d/derelict/freetype/functions.d
+include/d/derelict/freetype/types.d
+lib/d/libDerelictFT.a



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