blob: 56b17da3402a38e1053ae9e087de3728f2290dd9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# New ports collection makefile for: lua50-compat51
# Date created: 14 April 2006
# Whom: Andrew Turner <andrew+ports@fubar.geek.nz>
#
# $FreeBSD$
#
PORTNAME= compat
DISTVERSION= ${CVER}${CREV}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://files.luaforge.net/releases/compat/Compat-5.1/Compat-5.1release5/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
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 \
%%LUA_INCDIR%%/compat-${CVER}.h
# 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}
${INSTALL_DATA} ${WRKSRC}/compat-${CVER}.h ${LUA_INCDIR}
.include <bsd.port.mk>
|