View | Details | Raw Unified | Return to bug 104988
Collapse All | Expand All

(-)devel/lua-gettext/Makefile (-2 / +2 lines)
Lines 13-21 Link Here
13
DISTFILES=	lua_gettext.c?rev=${CVER} gettext.lua?rev=${LVER}
13
DISTFILES=	lua_gettext.c?rev=${CVER} gettext.lua?rev=${LVER}
14
14
15
MAINTAINER=	andrew+ports@fubar.geek.nz
15
MAINTAINER=	andrew+ports@fubar.geek.nz
16
COMMENT=	Gettext ibinding for Lua 5.0.x
16
COMMENT=	Gettext binding for Lua 5
17
17
18
USE_LUA=	5.0
18
USE_LUA?=	5.1
19
USE_GETTEXT=	yes
19
USE_GETTEXT=	yes
20
20
21
CVER=		1.15
21
CVER=		1.15
(-)devel/lua50-gettext/Makefile (-28 / +2 lines)
Lines 5-38 Link Here
5
# $FreeBSD: ports/devel/lua50-gettext/Makefile,v 1.2 2006/09/15 08:17:06 linimon Exp $
5
# $FreeBSD: ports/devel/lua50-gettext/Makefile,v 1.2 2006/09/15 08:17:06 linimon Exp $
6
#
6
#
7
7
8
PORTNAME=	gettext
9
PORTVERSION=	1.5
10
CATEGORIES=	devel
11
MASTER_SITES=	http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/gettext/
12
PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
13
DISTFILES=	lua_gettext.c?rev=${CVER} gettext.lua?rev=${LVER}
14
15
MAINTAINER=	andrew+ports@fubar.geek.nz
16
COMMENT=	Gettext ibinding for Lua 5.0.x
17
18
USE_LUA=	5.0
8
USE_LUA=	5.0
19
USE_GETTEXT=	yes
20
21
CVER=		1.15
22
LVER=		${PORTVERSION}
23
24
PLIST_FILES=	%%LUA_MODSHAREDIR%%/gettext.lua \
25
		%%LUA_MODLIBDIR%%/lgettext.so
26
27
do-extract:
28
	${MKDIR} ${WRKSRC}
29
.for file in ${DISTFILES}
30
	${CP} ${DISTDIR}/${file} ${WRKSRC}/${file:C/\?.*$//}
31
.endfor
32
	${CP} ${FILESDIR}/Makefile ${WRKSRC}
33
9
34
do-install:
10
MASTERDIR=	${.CURDIR}/../lua-gettext
35
	${INSTALL_DATA} ${WRKSRC}/gettext.lua ${LUA_MODSHAREDIR}
36
	${INSTALL_PROGRAM} ${WRKSRC}/lgettext.so ${LUA_MODLIBDIR}
37
11
38
.include <bsd.port.mk>
12
.include "${MASTERDIR}/Makefile"

Return to bug 104988