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" |