svn commit: r472477 - in head/devel: . icontheme icontheme/files
Jose Alonso Cardenas Marquez
acm at FreeBSD.org
Fri Jun 15 18:11:31 UTC 2018
Author: acm
Date: Fri Jun 15 18:11:29 2018
New Revision: 472477
URL: https://svnweb.freebsd.org/changeset/ports/472477
Log:
- New port: devel/icontheme
D library for dealing with icon themes in freedesktop environments
WWW: https://github.com/FreeSlave/icontheme
Added:
head/devel/icontheme/
head/devel/icontheme/Makefile (contents, props changed)
head/devel/icontheme/distinfo (contents, props changed)
head/devel/icontheme/files/
head/devel/icontheme/files/patch-dub.json (contents, props changed)
head/devel/icontheme/pkg-descr (contents, props changed)
head/devel/icontheme/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Jun 15 18:09:04 2018 (r472476)
+++ head/devel/Makefile Fri Jun 15 18:11:29 2018 (r472477)
@@ -1209,6 +1209,7 @@
SUBDIR += ice
SUBDIR += icestorm
SUBDIR += icmake
+ SUBDIR += icontheme
SUBDIR += icu
SUBDIR += icu-le-hb
SUBDIR += icu-lx
Added: head/devel/icontheme/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/icontheme/Makefile Fri Jun 15 18:11:29 2018 (r472477)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= icontheme
+PORTVERSION= 1.2.1
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= acm at FreeBSD.org
+COMMENT= Icon Theme Specification implementation in D programming language
+
+LICENSE= BSL
+
+BUILD_DEPENDS= ldmd2:lang/ldc \
+ dub:devel/dub \
+ ${LOCALBASE}/lib/d/libisfreedesktop.a:devel/isfreedesktop \
+ ${LOCALBASE}/lib/d/libinilike.a:devel/inilike \
+ ${LOCALBASE}/lib/d/libxdgpaths.a:devel/xdgpaths
+
+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/libicontheme.a ${STAGEDIR}${D_LIB_DIR}
+ cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
+
+.include <bsd.port.mk>
Added: head/devel/icontheme/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/icontheme/distinfo Fri Jun 15 18:11:29 2018 (r472477)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513182539
+SHA256 (FreeSlave-icontheme-v1.2.1_GH0.tar.gz) = 3db256b4f276a981c4405e9b2ccaaf2ad4bfabc5a01ed58e55025414f5a0fef4
+SIZE (FreeSlave-icontheme-v1.2.1_GH0.tar.gz) = 43473
Added: head/devel/icontheme/files/patch-dub.json
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/icontheme/files/patch-dub.json Fri Jun 15 18:11:29 2018 (r472477)
@@ -0,0 +1,13 @@
+--- dub.json.orig 2017-12-13 11:29:42.399563000 -0500
++++ dub.json 2017-12-13 11:29:52.805384000 -0500
+@@ -4,10 +4,6 @@
+ "license" : "BSL-1.0",
+ "copyright": "Copyright © 2015-2016, Roman Chistokhodov",
+ "authors": ["Roman Chistokhodov"],
+- "dependencies": {
+- "inilike": "~>1.1.0",
+- "xdgpaths": "~>0.2.4"
+- },
+ "targetName" : "icontheme",
+ "targetPath" : "lib",
+ "targetType" : "library",
Added: head/devel/icontheme/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/icontheme/pkg-descr Fri Jun 15 18:11:29 2018 (r472477)
@@ -0,0 +1,3 @@
+D library for dealing with icon themes in freedesktop environments
+
+WWW: https://github.com/FreeSlave/icontheme
Added: head/devel/icontheme/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/icontheme/pkg-plist Fri Jun 15 18:11:29 2018 (r472477)
@@ -0,0 +1,6 @@
+include/d/icontheme/cache.d
+include/d/icontheme/file.d
+include/d/icontheme/lookup.d
+include/d/icontheme/package.d
+include/d/icontheme/paths.d
+lib/d/libicontheme.a
More information about the svn-ports-head
mailing list