diff options
author | philip <philip@FreeBSD.org> | 2006-06-01 03:37:41 +0800 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2006-06-01 03:37:41 +0800 |
commit | 96187be12156cf1e115c053c82cdee28078ba07d (patch) | |
tree | 4535fee4e3330960160125d4cafb54e466f24e4e /devel/lua50-gettext | |
parent | 9e568bac8354843d10dc9b0b4bcaa19ea66c8413 (diff) | |
download | freebsd-ports-gnome-96187be12156cf1e115c053c82cdee28078ba07d.tar.gz freebsd-ports-gnome-96187be12156cf1e115c053c82cdee28078ba07d.tar.zst freebsd-ports-gnome-96187be12156cf1e115c053c82cdee28078ba07d.zip |
Add lua50-gettext 1.5, gettext ibinding for Lua 5.0.x.
PR: ports/98208
Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz>
Diffstat (limited to 'devel/lua50-gettext')
-rw-r--r-- | devel/lua50-gettext/Makefile | 42 | ||||
-rw-r--r-- | devel/lua50-gettext/distinfo | 6 | ||||
-rw-r--r-- | devel/lua50-gettext/files/Makefile | 11 | ||||
-rw-r--r-- | devel/lua50-gettext/pkg-descr | 1 | ||||
-rw-r--r-- | devel/lua50-gettext/pkg-plist | 6 |
5 files changed, 66 insertions, 0 deletions
diff --git a/devel/lua50-gettext/Makefile b/devel/lua50-gettext/Makefile new file mode 100644 index 000000000000..2a0edadba437 --- /dev/null +++ b/devel/lua50-gettext/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: lua50-gettext +# Date created: 31 May 2006 +# Whom: Andrew Turner <andrew+ports@fubar.geek.nz> +# +# $FreeBSD$ +# + +PORTNAME= gettext +PORTVERSION= 1.5 +CATEGORIES= devel +MASTER_SITES= http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/gettext/ +PKGNAMEPREFIX= lua50- +DISTFILES= lua_gettext.c?rev=${CVER} gettext.lua?rev=${LVER} + +MAINTAINER= andrew+ports@fubar.geek.nz +COMMENT= Gettext ibinding for Lua 5.0.x + +BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua50 +RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua50 + +USE_GETTEXT= yes + +LIBDIR= ${PREFIX}/lib/lua/5.0 + +CVER= 1.15 +LVER= ${PORTVERSION} + +do-extract: + ${MKDIR} ${WRKSRC} +.for file in ${DISTFILES} + ${CP} ${DISTDIR}/${file} ${WRKSRC}/${file:C/\?.*$//} +.endfor + ${CP} ${FILESDIR}/Makefile ${WRKSRC} + +do-install: + ${MKDIR} ${PREFIX}/lib/lua/5.0 + ${MKDIR} ${PREFIX}/share/lua/5.0 + ${INSTALL_DATA} ${WRKSRC}/gettext.lua ${PREFIX}/share/lua/5.0/ + ${MKDIR} ${PREFIX}/lib/lua/5.0 + ${INSTALL_PROGRAM} ${WRKSRC}/lgettext.so ${PREFIX}/lib/lua/5.0/ + +.include <bsd.port.mk> diff --git a/devel/lua50-gettext/distinfo b/devel/lua50-gettext/distinfo new file mode 100644 index 000000000000..c14f2162f4ab --- /dev/null +++ b/devel/lua50-gettext/distinfo @@ -0,0 +1,6 @@ +MD5 (lua_gettext.c?rev=1.15) = 24e06662fbce4903a90f6d9c96baae9e +SHA256 (lua_gettext.c?rev=1.15) = c3ba6db0e0220f2789d06099ce28372b5a30234ffee78caf5fa47efdf274baaf +SIZE (lua_gettext.c?rev=1.15) = 1429 +MD5 (gettext.lua?rev=1.5) = 16a2fcabd0f161712d00b60e93d1c849 +SHA256 (gettext.lua?rev=1.5) = a861d10a6aba7d0949c0851fff4d42a494bfaffbcc93a163ec85cecb38309fe3 +SIZE (gettext.lua?rev=1.5) = 315 diff --git a/devel/lua50-gettext/files/Makefile b/devel/lua50-gettext/files/Makefile new file mode 100644 index 000000000000..2c9a05d63bf4 --- /dev/null +++ b/devel/lua50-gettext/files/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +SHLIB= gettext +SHLIB_NAME= lgettext.so + +SRCS= lua_gettext.c + +CFLAGS+= -I${PREFIX}/include +LDFLAGS+= -L${PREFIX}/lib -lintl + +.include <bsd.lib.mk> diff --git a/devel/lua50-gettext/pkg-descr b/devel/lua50-gettext/pkg-descr new file mode 100644 index 000000000000..479088a53b59 --- /dev/null +++ b/devel/lua50-gettext/pkg-descr @@ -0,0 +1 @@ +Lua bindings for Gettext diff --git a/devel/lua50-gettext/pkg-plist b/devel/lua50-gettext/pkg-plist new file mode 100644 index 000000000000..ac660e2fdd80 --- /dev/null +++ b/devel/lua50-gettext/pkg-plist @@ -0,0 +1,6 @@ +lib/lua/5.0/lgettext.so +share/lua/5.0/gettext.lua +@dirrmtry lib/lua/5.0 +@dirrmtry lib/lua +@dirrmtry share/lua/5.0 +@dirrmtry share/lua |