diff options
author | acm <acm@FreeBSD.org> | 2017-07-22 11:26:45 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2017-07-22 11:26:45 +0800 |
commit | bc2acca1580ce0c7b8899b7c8f837beabc47f92c (patch) | |
tree | 5161ab4f4dbdd690f62eadadfc2a54992ee34daa /devel | |
parent | 0b20354fbcb17d43bbd04fa593ecda01a5e489c6 (diff) | |
download | freebsd-ports-gnome-bc2acca1580ce0c7b8899b7c8f837beabc47f92c.tar.gz freebsd-ports-gnome-bc2acca1580ce0c7b8899b7c8f837beabc47f92c.tar.zst freebsd-ports-gnome-bc2acca1580ce0c7b8899b7c8f837beabc47f92c.zip |
- New port: devel/libddoc
D implementation of the DDoc macro system
WWW: https://github.com/economicmodeling/libddoc
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/libddoc/Makefile | 33 | ||||
-rw-r--r-- | devel/libddoc/distinfo | 3 | ||||
-rw-r--r-- | devel/libddoc/pkg-descr | 3 | ||||
-rw-r--r-- | devel/libddoc/pkg-plist | 8 |
5 files changed, 48 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 7a1201672ffb..4198a346f26d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1286,6 +1286,7 @@ SUBDIR += libdbusmenu SUBDIR += libdbusmenu-qt SUBDIR += libdbusmenu-qt5 + SUBDIR += libddoc SUBDIR += libdevq SUBDIR += libdfui SUBDIR += libdisasm diff --git a/devel/libddoc/Makefile b/devel/libddoc/Makefile new file mode 100644 index 000000000000..0d0547b3753c --- /dev/null +++ b/devel/libddoc/Makefile @@ -0,0 +1,33 @@ +# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= libddoc +PORTVERSION= 0.2.0 +CATEGORIES= devel +MASTER_SITES= https://github.com/economicmodeling/libddoc/archive/ +DISTNAME= ${DISTVERSION:S/^/v/} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= acm@FreeBSD.org +COMMENT= D implementation of the DDoc macro system + +LICENSE= BSL + +BUILD_DEPENDS= ldmd2:lang/ldc \ + dub:devel/dub + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +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}/libddoc.a ${STAGEDIR}${D_LIB_DIR} + cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d" + +.include <bsd.port.mk> diff --git a/devel/libddoc/distinfo b/devel/libddoc/distinfo new file mode 100644 index 000000000000..da64d7e87288 --- /dev/null +++ b/devel/libddoc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1500623954 +SHA256 (libddoc/v0.2.0.tar.gz) = 6249c3fe0e6d0057b1daab4f51282f9bf0c723d920c3a2f72af542f75f79ca24 +SIZE (libddoc/v0.2.0.tar.gz) = 19163 diff --git a/devel/libddoc/pkg-descr b/devel/libddoc/pkg-descr new file mode 100644 index 000000000000..fa44c4de2011 --- /dev/null +++ b/devel/libddoc/pkg-descr @@ -0,0 +1,3 @@ +D implementation of the DDoc macro system + +WWW: https://github.com/economicmodeling/libddoc diff --git a/devel/libddoc/pkg-plist b/devel/libddoc/pkg-plist new file mode 100644 index 000000000000..7c428c6a79ec --- /dev/null +++ b/devel/libddoc/pkg-plist @@ -0,0 +1,8 @@ +include/d/ddoc/comments.d +include/d/ddoc/highlight.d +include/d/ddoc/lexer.d +include/d/ddoc/macros.d +include/d/ddoc/package.d +include/d/ddoc/sections.d +include/d/ddoc/standalone.d +lib/d/libddoc.a |