diff options
author | garga <garga@FreeBSD.org> | 2009-05-08 23:19:56 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2009-05-08 23:19:56 +0800 |
commit | 823761084459d4e4cff87a578b97bbe28470e1d0 (patch) | |
tree | 3a25edcdebc73a14221a0a2cb6be722571f6e386 | |
parent | c85fa01f91d9570b1f7b256156fb9084d4db3a70 (diff) | |
download | freebsd-ports-gnome-823761084459d4e4cff87a578b97bbe28470e1d0.tar.gz freebsd-ports-gnome-823761084459d4e4cff87a578b97bbe28470e1d0.tar.zst freebsd-ports-gnome-823761084459d4e4cff87a578b97bbe28470e1d0.zip |
Add lua-sysctl, a small sysctl(3) interface for lua programming language
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/lua-sysctl/Makefile | 26 | ||||
-rw-r--r-- | devel/lua-sysctl/distinfo | 3 | ||||
-rw-r--r-- | devel/lua-sysctl/pkg-descr | 3 |
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ebb4cf1e06a1..24cb7685888e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -783,6 +783,7 @@ SUBDIR += lua-gettext SUBDIR += lua-posix SUBDIR += lua-pty + SUBDIR += lua-sysctl SUBDIR += lua50-app SUBDIR += lua50-compat51 SUBDIR += lua50-dfui 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 |