head	1.4;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2012.11.17.05.58.58;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2006.09.16.22.01.36;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2006.09.15.08.17.09;	author linimon;	state Exp;
branches;
next	1.1;

1.1
date	2004.11.21.09.32.06;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Switch exporter over
@
text
@#
# New ports collection makefile for:	tolua
# Date created:				21 November 2004
# Whom:					Edwin Groothuis <edwin@@mavetju.org>
#
# $FreeBSD: head/lang/tolua4/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	tolua
PORTVERSION=	4.0a
PORTREVISION=	1
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

USE_GMAKE=	yes
USE_LUA=	4.0
WRKSRC=		${WRKDIR}/tolua

LATEST_LINK=	${PORTNAME}${LUA_VER_STR}

post-patch:
	@@${REINPLACE_CMD} -Ee \
		's|^(CC=).*|\1 ${CC}|; \
		 s|^(LUA=).*|\1 ${LOCALBASE}|; \
		 s|^(LUA(INC\|LIB)=.*)|\1/lua${LUA_VER_STR}|; \
		 s|^(CFLAGS)(=.*)|\1+\2|;' \
		${WRKSRC}/config

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua ${LUA_BINDIR}
	${LN} -sf ${LUA_SUBDIR}/tolua ${PREFIX}/bin/tolua-${LUA_VER}
	${INSTALL_DATA} ${WRKSRC}/include/tolua.h ${LUA_INCDIR}
	${INSTALL_DATA} ${WRKSRC}/lib/libtolua.a ${LUA_LIBDIR}

.include <bsd.port.mk>
@


1.3
log
@Update PORTREVISION for previous commits where plist changed.

PR:		ports/101612
Submitted by:	alepulver
Hat:		portmgr
Pointy hat to:	linimon
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.2
log
@Modify these files to reflect bsd.lua.mk as tested on the cluster.

PR:		ports/101612
Submitted by:	alepulver
Hat:		portmgr
@
text
@d11 1
@


1.1
log
@toLua is a tool that greatly simplifies the integration of C/C++
code with Lua. Based on a "cleaned" header file, toLua automatically
generates the binding code to access C/C++ features from Lua. Using
Lua-5.0 API and tag method facilities, the current version automatically
maps C/C++ constants, external variables, functions, namespace,
classes, and methods to Lua. It also provides facilities to create
Lua modules.

WWW: http://www.tecgraf.puc-rio.br/~celes/tolua/

Author: Waldemar Celes <celes@@tecgraf.puc-rio.br>
@
text
@d9 1
a9 1
PORTNAME=	tolua4
d19 5
a23 1
LIB_DEPENDS=	lua.4:${PORTSDIR}/lang/lua4
d25 7
a31 3
WRKSRC=		${WRKDIR}/tolua
USE_GMAKE=	yes
CONFLICTS=	tolua-5.*
d34 4
a37 3
	${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/include/tolua.h ${PREFIX}/include
	${INSTALL_DATA} ${WRKSRC}/lib/libtolua.a ${PREFIX}/lib
@

