ports/104988: Maintainer update: devel/lua50-gettext
Andrew Turner
andrew+ports at fubar.geek.nz
Tue Oct 31 21:51:13 UTC 2006
>Number: 104988
>Category: ports
>Synopsis: Maintainer update: devel/lua50-gettext
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 31 21:50:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Andrew Turner
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD hermies.int.fubar.geek.nz 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Sat Sep 23 07:25:49 NZST 2006 root at hermies.int.fubar.geek.nz:/usr/obj/srctrees/RELENG_6/sys/GENERIC i386
>Description:
Attached is an update devel/lua50-gettext to work with both Lua 5.0 and Lua 5.1. It creates a new port in devel/lua-gettext for lua 5.1. It then makes devel/lua50-gettext a slave port for lua 5.0
>How-To-Repeat:
>Fix:
Repo-copy devel/lua50-gettext to devel/lua-gettext and apply the attached patch.
Patch attached with submission follows:
Index: devel/lua-gettext/Makefile
===================================================================
RCS file: /cvsroot/ports/devel/lua50-gettext/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/lua-gettext/Makefile 15 Sep 2006 08:17:06 -0000 1.2
+++ devel/lua-gettext/Makefile 16 Sep 2006 11:29:23 -0000
@@ -13,9 +13,9 @@
DISTFILES= lua_gettext.c?rev=${CVER} gettext.lua?rev=${LVER}
MAINTAINER= andrew+ports at fubar.geek.nz
-COMMENT= Gettext ibinding for Lua 5.0.x
+COMMENT= Gettext binding for Lua 5
-USE_LUA= 5.0
+USE_LUA?= 5.1
USE_GETTEXT= yes
CVER= 1.15
Index: devel/lua50-gettext/Makefile
===================================================================
RCS file: /cvsroot/ports/devel/lua50-gettext/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/lua50-gettext/Makefile 15 Sep 2006 08:17:06 -0000 1.2
+++ devel/lua50-gettext/Makefile 16 Sep 2006 11:21:06 -0000
@@ -5,34 +5,8 @@
# $FreeBSD: ports/devel/lua50-gettext/Makefile,v 1.2 2006/09/15 08:17:06 linimon Exp $
#
-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 at 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"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list