Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2006 21:49:00 GMT
From:      Andrew Turner<andrew+ports@fubar.geek.nz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104988: Maintainer update: devel/lua50-gettext
Message-ID:  <200610312149.k9VLn0NT072327@www.freebsd.org>
Resent-Message-ID: <200610312150.k9VLoSjB099102@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610312149.k9VLn0NT072327>