2006-01-23 00:42:31 +01:00
|
|
|
# New ports collection makefile for: tolua++
|
|
|
|
# Date created: 18 Jan 2006
|
|
|
|
# Whom: aaron@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tolua++
|
2006-12-23 23:09:32 +01:00
|
|
|
PORTVERSION= 1.0.92
|
2008-08-11 00:42:41 +02:00
|
|
|
PKGNAMESUFFIX= 50
|
2006-01-23 00:42:31 +01:00
|
|
|
CATEGORIES= lang devel
|
2008-08-11 00:42:41 +02:00
|
|
|
MASTER_SITES= http://www.codenix.com/~tolua/ \
|
|
|
|
http://www.amdmi3.ru/distfiles/
|
2006-01-23 00:42:31 +01:00
|
|
|
|
2008-08-11 00:42:41 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2006-01-23 00:42:31 +01:00
|
|
|
COMMENT= An extended version of tolua, a tool to integrate C/C++ code with Lua
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2008-08-11 00:42:41 +02:00
|
|
|
USE_LUA= 5.0
|
2006-12-23 23:09:32 +01:00
|
|
|
USE_SCONS= yes
|
|
|
|
SCONS_ARGS= prefix=${PREFIX}
|
2006-01-23 00:42:31 +01:00
|
|
|
|
2008-08-11 00:42:41 +02:00
|
|
|
CFLAGS+= -I${LUA_INCDIR}
|
|
|
|
LDFLAGS+= -L${LUA_LIBDIR}
|
|
|
|
|
|
|
|
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}
|
2006-01-23 00:42:31 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|