Commit 72aa6a33 authored by acm's avatar acm
Browse files

- 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
parent 8c06c155
......@@ -31,6 +31,7 @@
SUBDIR += cups-pk-helper
SUBDIR += cups-smb-backend
SUBDIR += deforaos-pdfviewer
SUBDIR += derelict-ft
SUBDIR += detex
SUBDIR += dot2tex
SUBDIR += dvi2tty
......
# 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>
TIMESTAMP = 1500698108
SHA256 (derelict-ft/v1.1.3.tar.gz) = 135eae5d154c8537cff2e08267a22f58ee05f93f8b5f974016cde085c64c4ff7
SIZE (derelict-ft/v1.1.3.tar.gz) = 22608
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
include/d/derelict/freetype/ft.d
include/d/derelict/freetype/functions.d
include/d/derelict/freetype/types.d
lib/d/libDerelictFT.a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment