aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tolua4/Makefile
blob: 9330f072210103b7c5fbe19ec348d1a5811b3ca7 (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
#
# New ports collection makefile for:    tolua
# Date created:             21 November 2004
# Whom:                 Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#

PORTNAME=   tolua4
PORTVERSION=    4.0a
CATEGORIES= lang
MASTER_SITES=   ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/ \
        http://www.tecgraf.puc-rio.br/~celes/tolua/
DISTNAME=   tolua-4.0a

MAINTAINER= edwin@mavetju.org
COMMENT=    toLua: accessing C/C++ code from Lua

LIB_DEPENDS=    lua.4:${PORTSDIR}/lang/lua4

WRKSRC=     ${WRKDIR}/tolua
USE_GMAKE=  yes
CONFLICTS=  tolua-5.*

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/include/tolua.h ${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/lib/libtolua.a ${PREFIX}/lib

.include <bsd.port.mk>