aboutsummaryrefslogtreecommitdiff
path: root/devel/lua-sysctl
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2009-05-08 15:19:56 +0000
committerRenato Botelho <garga@FreeBSD.org>2009-05-08 15:19:56 +0000
commitd6500f93f1ba006ff6daf286591e5ed6b832e1fb (patch)
tree54a202ba38e76233b4a6863f3f94e4e1153c21d1 /devel/lua-sysctl
parent0f666079ef8b45ee5445eb8f7d7cf2ae0a596f35 (diff)
downloadports-d6500f93f1ba006ff6daf286591e5ed6b832e1fb.tar.gz
ports-d6500f93f1ba006ff6daf286591e5ed6b832e1fb.zip
Add lua-sysctl, a small sysctl(3) interface for lua programming language
Notes
Notes: svn path=/head/; revision=233419
Diffstat (limited to 'devel/lua-sysctl')
-rw-r--r--devel/lua-sysctl/Makefile26
-rw-r--r--devel/lua-sysctl/distinfo3
-rw-r--r--devel/lua-sysctl/pkg-descr3
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/lua-sysctl/Makefile b/devel/lua-sysctl/Makefile
new file mode 100644
index 000000000000..c4fb2b513fad
--- /dev/null
+++ b/devel/lua-sysctl/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: lua-sysctl
+# Date created: 2009-05-08
+# Whom: Renato Botelho <garga@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lua-sysctl
+PORTVERSION= 0.1
+CATEGORIES= devel
+MASTER_SITES= http://files.kaworu.ch/
+
+MAINTAINER= garga@FreeBSD.org
+COMMENT= A small sysctl(3) interface for lua
+
+USE_LUA= yes
+PLIST_FILES= lib/lua-sysctl.so
+
+post-patch:
+ @${REINPLACE_CMD} -E '/^(C|LD)FLAGS/ s/=/+=/g' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/sysctl/core.so ${PREFIX}/lib/lua-sysctl.so
+
+.include <bsd.port.mk>
diff --git a/devel/lua-sysctl/distinfo b/devel/lua-sysctl/distinfo
new file mode 100644
index 000000000000..79a39ad6c7b1
--- /dev/null
+++ b/devel/lua-sysctl/distinfo
@@ -0,0 +1,3 @@
+MD5 (lua-sysctl-0.1.tar.gz) = 676d382fd90baecdfbf5b15bc5f750e0
+SHA256 (lua-sysctl-0.1.tar.gz) = 8dd4ac60ec0004234168bcc5527bbf2096549f1c550f61ef4a8b9a99c8e932c7
+SIZE (lua-sysctl-0.1.tar.gz) = 14391
diff --git a/devel/lua-sysctl/pkg-descr b/devel/lua-sysctl/pkg-descr
new file mode 100644
index 000000000000..6c56dede0e4f
--- /dev/null
+++ b/devel/lua-sysctl/pkg-descr
@@ -0,0 +1,3 @@
+A small sysctl(3) interface for lua
+
+WWW: http://hg.kaworu.ch/lua-sysctl