2006-05-31 19:37:41 +00:00
|
|
|
# New ports collection makefile for: lua50-gettext
|
|
|
|
# Date created: 31 May 2006
|
|
|
|
# Whom: Andrew Turner <andrew+ports@fubar.geek.nz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gettext
|
|
|
|
PORTVERSION= 1.5
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2006-05-31 19:37:41 +00:00
|
|
|
CATEGORIES= devel
|
2007-01-15 08:12:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= philip
|
2006-09-15 08:17:11 +00:00
|
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
2006-05-31 19:37:41 +00:00
|
|
|
DISTFILES= lua_gettext.c?rev=${CVER} gettext.lua?rev=${LVER}
|
|
|
|
|
|
|
|
MAINTAINER= andrew+ports@fubar.geek.nz
|
2006-11-01 21:16:33 +00:00
|
|
|
COMMENT= Gettext binding for Lua 5
|
2006-05-31 19:37:41 +00:00
|
|
|
|
2006-11-01 21:16:33 +00:00
|
|
|
USE_LUA?= 5.1
|
2006-05-31 19:37:41 +00:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
|
|
|
|
CVER= 1.15
|
|
|
|
LVER= ${PORTVERSION}
|
|
|
|
|
2006-09-15 08:17:11 +00:00
|
|
|
PLIST_FILES= %%LUA_MODSHAREDIR%%/gettext.lua \
|
|
|
|
%%LUA_MODLIBDIR%%/lgettext.so
|
|
|
|
|
2006-05-31 19:37:41 +00:00
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
.for file in ${DISTFILES}
|
|
|
|
${CP} ${DISTDIR}/${file} ${WRKSRC}/${file:C/\?.*$//}
|
|
|
|
.endfor
|
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
2006-09-15 08:17:11 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gettext.lua ${LUA_MODSHAREDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lgettext.so ${LUA_MODLIBDIR}
|
2006-05-31 19:37:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|