aboutsummaryrefslogtreecommitdiff
path: root/devel/lua50-gettext
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2006-11-01 21:07:58 +0000
committerPhilip Paeps <philip@FreeBSD.org>2006-11-01 21:07:58 +0000
commitff0da49c86d282816643eb6a5b45e516c31da50d (patch)
treecda811690dc00679ddc56154653140dba359da3d /devel/lua50-gettext
parent43389de3236b934c10e98487ea607d08ad193803 (diff)
downloadports-ff0da49c86d282816643eb6a5b45e516c31da50d.tar.gz
ports-ff0da49c86d282816643eb6a5b45e516c31da50d.zip
Add devel/lua-gettext to work with Lua 5.0 and Lua 5.1 and turn
devel/lua50-gettext into a slave port of it. PR: ports/104988 Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer) Repocopy by: marcus
Notes
Notes: svn path=/head/; revision=176125
Diffstat (limited to 'devel/lua50-gettext')
-rw-r--r--devel/lua50-gettext/Makefile30
-rw-r--r--devel/lua50-gettext/distinfo6
-rw-r--r--devel/lua50-gettext/files/Makefile11
3 files changed, 2 insertions, 45 deletions
diff --git a/devel/lua50-gettext/Makefile b/devel/lua50-gettext/Makefile
index 83fabe59eb6d..752d654856bf 100644
--- a/devel/lua50-gettext/Makefile
+++ b/devel/lua50-gettext/Makefile
@@ -5,34 +5,8 @@
# $FreeBSD$
#
-PORTNAME= gettext
-PORTVERSION= 1.5
-CATEGORIES= devel
-MASTER_SITES= http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/gettext/
-PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
-DISTFILES= lua_gettext.c?rev=${CVER} gettext.lua?rev=${LVER}
-
-MAINTAINER= andrew+ports@fubar.geek.nz
-COMMENT= Gettext ibinding for Lua 5.0.x
-
USE_LUA= 5.0
-USE_GETTEXT= yes
-
-CVER= 1.15
-LVER= ${PORTVERSION}
-
-PLIST_FILES= %%LUA_MODSHAREDIR%%/gettext.lua \
- %%LUA_MODLIBDIR%%/lgettext.so
-
-do-extract:
- ${MKDIR} ${WRKSRC}
-.for file in ${DISTFILES}
- ${CP} ${DISTDIR}/${file} ${WRKSRC}/${file:C/\?.*$//}
-.endfor
- ${CP} ${FILESDIR}/Makefile ${WRKSRC}
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/gettext.lua ${LUA_MODSHAREDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lgettext.so ${LUA_MODLIBDIR}
+MASTERDIR= ${.CURDIR}/../lua-gettext
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/lua50-gettext/distinfo b/devel/lua50-gettext/distinfo
deleted file mode 100644
index c14f2162f4ab..000000000000
--- a/devel/lua50-gettext/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-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
deleted file mode 100644
index d04118bfa4d1..000000000000
--- a/devel/lua50-gettext/files/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-# $FreeBSD$
-
-SHLIB= gettext
-SHLIB_NAME= lgettext.so
-
-SRCS= lua_gettext.c
-
-CFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR}
-LDFLAGS+= -L${LOCALBASE}/lib -lintl
-
-.include <bsd.lib.mk>