svn commit: r472476 - in head/devel: . xdgpaths xdgpaths/files
Jose Alonso Cardenas Marquez
acm at FreeBSD.org
Fri Jun 15 18:09:06 UTC 2018
Author: acm
Date: Fri Jun 15 18:09:04 2018
New Revision: 472476
URL: https://svnweb.freebsd.org/changeset/ports/472476
Log:
- New port: devel/xdgpaths
D library for retrieving XDG base directories as described by XDG Base
Directory Specification
WWW: https://github.com/FreeSlave/xdgpaths
Added:
head/devel/xdgpaths/
head/devel/xdgpaths/Makefile (contents, props changed)
head/devel/xdgpaths/distinfo (contents, props changed)
head/devel/xdgpaths/files/
head/devel/xdgpaths/files/patch-dub.json (contents, props changed)
head/devel/xdgpaths/pkg-descr (contents, props changed)
head/devel/xdgpaths/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Jun 15 18:06:58 2018 (r472475)
+++ head/devel/Makefile Fri Jun 15 18:09:04 2018 (r472476)
@@ -6224,6 +6224,7 @@
SUBDIR += xc3sprog
SUBDIR += xdg-user-dirs
SUBDIR += xdg-utils
+ SUBDIR += xdgpaths
SUBDIR += xfce4-dev-tools
SUBDIR += xfce4-vala
SUBDIR += xmake
Added: head/devel/xdgpaths/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/xdgpaths/Makefile Fri Jun 15 18:09:04 2018 (r472476)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= xdgpaths
+PORTVERSION= 0.2.4
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= acm at FreeBSD.org
+COMMENT= XDG Base Directory Specification implementation in D lang
+
+LICENSE= BSL
+
+BUILD_DEPENDS= ldmd2:lang/ldc \
+ dub:devel/dub \
+ ${LOCALBASE}/lib/d/libisfreedesktop.a:devel/isfreedesktop
+
+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/libxdgpaths.a ${STAGEDIR}${D_LIB_DIR}
+ cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
+
+.include <bsd.port.mk>
Added: head/devel/xdgpaths/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/xdgpaths/distinfo Fri Jun 15 18:09:04 2018 (r472476)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513180834
+SHA256 (FreeSlave-xdgpaths-v0.2.4_GH0.tar.gz) = 5eaa56100be022987baa62765474a2e243c00fc7e701895e5e719dee5836c44b
+SIZE (FreeSlave-xdgpaths-v0.2.4_GH0.tar.gz) = 6345
Added: head/devel/xdgpaths/files/patch-dub.json
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/xdgpaths/files/patch-dub.json Fri Jun 15 18:09:04 2018 (r472476)
@@ -0,0 +1,12 @@
+--- dub.json.orig 2017-12-13 11:01:34.079914000 -0500
++++ dub.json 2017-12-13 11:01:47.615013000 -0500
+@@ -6,9 +6,6 @@
+ "authors": ["Roman Chistokhodov"],
+ "targetPath" : "lib",
+ "targetType" : "library",
+- "dependencies": {
+- "isfreedesktop" : "~>0.1.0"
+- },
+ "buildTypes" : {
+ "docs" : {
+ "buildOptions" : ["syntaxOnly"],
Added: head/devel/xdgpaths/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/xdgpaths/pkg-descr Fri Jun 15 18:09:04 2018 (r472476)
@@ -0,0 +1,4 @@
+D library for retrieving XDG base directories as described by XDG Base
+Directory Specification
+
+WWW: https://github.com/FreeSlave/xdgpaths
Added: head/devel/xdgpaths/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/xdgpaths/pkg-plist Fri Jun 15 18:09:04 2018 (r472476)
@@ -0,0 +1,2 @@
+include/d/xdgpaths.d
+lib/d/libxdgpaths.a
More information about the svn-ports-all
mailing list