diff options
author | Philip Paeps <philip@FreeBSD.org> | 2006-05-31 19:37:41 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2006-05-31 19:37:41 +0000 |
commit | a8408580a63877f600920c0ec29cdbf8bb4e5555 (patch) | |
tree | f43b71f5b6f3225e0cadff8607628c39218d4287 /devel/lua-gettext | |
parent | 47e00cd9c6e086624b5d2e88cce322a5d2727f6f (diff) | |
download | ports-a8408580a63877f600920c0ec29cdbf8bb4e5555.tar.gz ports-a8408580a63877f600920c0ec29cdbf8bb4e5555.zip |
Notes
Diffstat (limited to 'devel/lua-gettext')
-rw-r--r-- | devel/lua-gettext/Makefile | 42 | ||||
-rw-r--r-- | devel/lua-gettext/distinfo | 6 | ||||
-rw-r--r-- | devel/lua-gettext/files/Makefile | 11 | ||||
-rw-r--r-- | devel/lua-gettext/pkg-descr | 1 | ||||
-rw-r--r-- | devel/lua-gettext/pkg-plist | 6 |
5 files changed, 66 insertions, 0 deletions
diff --git a/devel/lua-gettext/Makefile b/devel/lua-gettext/Makefile new file mode 100644 index 000000000000..2a0edadba437 --- /dev/null +++ b/devel/lua-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/lua-gettext/distinfo b/devel/lua-gettext/distinfo new file mode 100644 index 000000000000..c14f2162f4ab --- /dev/null +++ b/devel/lua-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/lua-gettext/files/Makefile b/devel/lua-gettext/files/Makefile new file mode 100644 index 000000000000..2c9a05d63bf4 --- /dev/null +++ b/devel/lua-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/lua-gettext/pkg-descr b/devel/lua-gettext/pkg-descr new file mode 100644 index 000000000000..479088a53b59 --- /dev/null +++ b/devel/lua-gettext/pkg-descr @@ -0,0 +1 @@ +Lua bindings for Gettext diff --git a/devel/lua-gettext/pkg-plist b/devel/lua-gettext/pkg-plist new file mode 100644 index 000000000000..ac660e2fdd80 --- /dev/null +++ b/devel/lua-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 |