freebsd-ports/lang/tolua++/Makefile
Mark Linimon 340400ffaf Catch up with the last few files tested on pointyhat as part of later
revisions to ports/101612 that were not in the PR.

Hat:		portmgr
2006-09-15 10:58:52 +00:00

37 lines
797 B
Makefile

# New ports collection makefile for: tolua++
# Date created: 18 Jan 2006
# Whom: aaron@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= tolua++
PORTVERSION= 1.0.4
CATEGORIES= lang devel
MASTER_SITES= http://www.codenix.com/~tolua/
DISTFILES= tolua++-current${EXTRACT_SUFX}
MAINTAINER= aaron@FreeBSD.org
COMMENT= An extended version of tolua, a tool to integrate C/C++ code with Lua
BUILD_DEPENDS= ${LOCALBASE}/bin/scons:${PORTSDIR}/devel/scons
USE_BZIP2= yes
USE_LDCONFIG= yes
USE_LUA= 5.0
NO_BUILD= yes
post-patch:
.for f in LOCALBASE LUA_VER LUA_INCDIR LUA_LIBDIR
@${REINPLACE_CMD} -i "" -e 's|%%${f}%%|${${f}}|g' \
${WRKSRC}/config_posix.py
.endfor
do-build:
@cd ${WRKSRC} && scons
do-install:
@cd ${WRKSRC} && scons prefix=${PREFIX} install
.include <bsd.port.mk>