aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2013-10-23 18:29:10 +0800
committerknu <knu@FreeBSD.org>2013-10-23 18:29:10 +0800
commitebbb954efe70dbc42f1a6088360ec8c87b2e5b5c (patch)
treea045bf7677671891749568e6533f10c083723c8c /editors
parent42e4ec6e0e320973336f72ab11d1a97bcda8cf7c (diff)
downloadfreebsd-ports-graphics-ebbb954efe70dbc42f1a6088360ec8c87b2e5b5c.tar.gz
freebsd-ports-graphics-ebbb954efe70dbc42f1a6088360ec8c87b2e5b5c.tar.zst
freebsd-ports-graphics-ebbb954efe70dbc42f1a6088360ec8c87b2e5b5c.zip
Add editorconfig-core-c 0.11.5.
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/editorconfig-core-c/Makefile23
-rw-r--r--editors/editorconfig-core-c/distinfo2
-rw-r--r--editors/editorconfig-core-c/pkg-descr8
-rw-r--r--editors/editorconfig-core-c/pkg-plist9
5 files changed, 43 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 3b57c226374..47536d9699f 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -56,6 +56,7 @@
SUBDIR += e3
SUBDIR += e93
SUBDIR += edith
+ SUBDIR += editorconfig-core-c
SUBDIR += elvis
SUBDIR += emacs
SUBDIR += emacs-devel
diff --git a/editors/editorconfig-core-c/Makefile b/editors/editorconfig-core-c/Makefile
new file mode 100644
index 00000000000..8d881a74e74
--- /dev/null
+++ b/editors/editorconfig-core-c/Makefile
@@ -0,0 +1,23 @@
+# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
+# $FreeBSD$
+
+PORTNAME= editorconfig-core-c
+PORTVERSION= 0.11.5
+CATEGORIES= editors
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= EditorConfig core library and executable written in C
+
+USE_GITHUB= yes
+GH_ACCOUNT= editorconfig
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= c5e2a58
+
+USES= cmake
+USE_LDCONFIG= yes
+
+PLIST_SUB= PORTVERSION=${PORTVERSION} \
+ SHLIB_MAJOR=${PORTVERSION:C/\..+//} \
+ SHLIB_VER=${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/editors/editorconfig-core-c/distinfo b/editors/editorconfig-core-c/distinfo
new file mode 100644
index 00000000000..37d76017451
--- /dev/null
+++ b/editors/editorconfig-core-c/distinfo
@@ -0,0 +1,2 @@
+SHA256 (editorconfig-core-c-0.11.5.tar.gz) = 78e2a515a899785349272f264395f0d934c8eebfbd074ab07c281e4638ecba0b
+SIZE (editorconfig-core-c-0.11.5.tar.gz) = 76868
diff --git a/editors/editorconfig-core-c/pkg-descr b/editors/editorconfig-core-c/pkg-descr
new file mode 100644
index 00000000000..71abf5050a6
--- /dev/null
+++ b/editors/editorconfig-core-c/pkg-descr
@@ -0,0 +1,8 @@
+EditorConfig helps developers define and maintain consistent coding
+styles between different editors and IDEs.
+
+This package provides the core library and editorconfig(1) executable
+both written in C for use by text editor plugins supporting
+EditorConfig parsing.
+
+WWW: http://editorconfig.org/
diff --git a/editors/editorconfig-core-c/pkg-plist b/editors/editorconfig-core-c/pkg-plist
new file mode 100644
index 00000000000..961ffe6db0f
--- /dev/null
+++ b/editors/editorconfig-core-c/pkg-plist
@@ -0,0 +1,9 @@
+bin/editorconfig
+bin/editorconfig-%%PORTVERSION%%
+include/editorconfig/editorconfig.h
+include/editorconfig/editorconfig_handle.h
+@dirrm include/editorconfig
+lib/libeditorconfig.so
+lib/libeditorconfig.so.%%SHLIB_MAJOR%%
+lib/libeditorconfig.so.%%SHLIB_VER%%
+lib/libeditorconfig_static.a