svn commit: r446357 - in head/devel: . inifiled
Jose Alonso Cardenas Marquez
acm at FreeBSD.org
Sat Jul 22 03:24:01 UTC 2017
Author: acm
Date: Sat Jul 22 03:23:59 2017
New Revision: 446357
URL: https://svnweb.freebsd.org/changeset/ports/446357
Log:
- New port: devel/inifiled
A compile time ini file parser and writter generator for D. inifile.d takes
annotated structs and create ini file parser and writer. The ini file format
always comments and section and to some degree nesting.
WWW: https://github.com/burner/inifiled
Added:
head/devel/inifiled/
head/devel/inifiled/Makefile (contents, props changed)
head/devel/inifiled/distinfo (contents, props changed)
head/devel/inifiled/pkg-descr (contents, props changed)
head/devel/inifiled/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Jul 22 03:22:36 2017 (r446356)
+++ head/devel/Makefile Sat Jul 22 03:23:59 2017 (r446357)
@@ -1134,6 +1134,7 @@
SUBDIR += imake
SUBDIR += include-what-you-use
SUBDIR += inilib
+ SUBDIR += inifiled
SUBDIR += iniparser
SUBDIR += initutil
SUBDIR += injeqt
Added: head/devel/inifiled/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/inifiled/Makefile Sat Jul 22 03:23:59 2017 (r446357)
@@ -0,0 +1,33 @@
+# Created by: Alonso Cardenas Marquez <acm at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= inifiled
+PORTVERSION= 1.0.2
+CATEGORIES= devel
+MASTER_SITES= https://github.com/burner/inifiled/archive/
+DISTNAME= ${DISTVERSION:S/^/v/}
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= acm at FreeBSD.org
+COMMENT= Compile time ini file parser and writter generator for D
+
+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}/libinifiled.a ${STAGEDIR}${D_LIB_DIR}
+ cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
+
+.include <bsd.port.mk>
Added: head/devel/inifiled/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/inifiled/distinfo Sat Jul 22 03:23:59 2017 (r446357)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1500622557
+SHA256 (inifiled/v1.0.2.tar.gz) = 73f24bed27fb9575d92b98145fc6520603732f097f6ffe68e280085ef48e381e
+SIZE (inifiled/v1.0.2.tar.gz) = 7647
Added: head/devel/inifiled/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/inifiled/pkg-descr Sat Jul 22 03:23:59 2017 (r446357)
@@ -0,0 +1,5 @@
+A compile time ini file parser and writter generator for D. inifile.d takes
+annotated structs and create ini file parser and writer. The ini file format
+always comments and section and to some degree nesting.
+
+WWW: https://github.com/burner/inifiled
Added: head/devel/inifiled/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/inifiled/pkg-plist Sat Jul 22 03:23:59 2017 (r446357)
@@ -0,0 +1,2 @@
+include/d/inifiled.d
+lib/d/libinifiled.a
More information about the svn-ports-head
mailing list