mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-08 02:15:08 +00:00
c5aeb93cd5
PR: ports/101612 Submitted by: alepulver Hat: portmgr
36 lines
899 B
Makefile
36 lines
899 B
Makefile
# New ports collection makefile for: lua50-compat51
|
|
# Date created: 14 April 2006
|
|
# Whom: Andrew Turner <andrew+ports@fubar.geek.nz>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= compat
|
|
PORTVERSION= ${CVER}.${CREV}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/1410/
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= andrew+ports@fubar.geek.nz
|
|
COMMENT= Lua 5.1 package compatibility layer for Lua 5.0.x
|
|
|
|
USE_LUA= 5.0
|
|
WRKSRC= ${WRKDIR}/compat-${CVER}${CREV}
|
|
|
|
MAKE_ENV= CVER="${CVER}"
|
|
PLIST_FILES= %%LUA_MODSHAREDIR%%/compat-${CVER}.lua \
|
|
%%LUA_MODLIBDIR%%/lcompat-${CVER}.so
|
|
|
|
# Update these values when there is a new release.
|
|
CVER= 5.1
|
|
CREV= r5
|
|
|
|
post-extract:
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/compat-${CVER}.lua ${LUA_MODSHAREDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lcompat-${CVER}.so ${LUA_MODLIBDIR}
|
|
|
|
.include <bsd.port.mk>
|