head	1.14;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.05.58.58;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2011.12.22.10.59.57;	author linimon;	state Exp;
branches;
next	1.12;

1.12
date	2011.03.07.19.42.56;	author amdmi3;	state Exp;
branches;
next	1.11;

1.11
date	2009.07.28.16.34.35;	author amdmi3;	state Exp;
branches;
next	1.10;

1.10
date	2009.01.05.16.14.50;	author amdmi3;	state Exp;
branches;
next	1.9;

1.9
date	2008.08.21.22.31.18;	author amdmi3;	state Exp;
branches;
next	1.8;

1.8
date	2008.08.19.20.40.19;	author amdmi3;	state Exp;
branches;
next	1.7;

1.7
date	2008.08.10.22.42.41;	author amdmi3;	state Exp;
branches;
next	1.6;

1.6
date	2008.04.29.05.26.49;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2006.12.23.22.09.32;	author aaron;	state Exp;
branches;
next	1.4;

1.4
date	2006.09.15.10.58.52;	author linimon;	state Exp;
branches;
next	1.3;

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

1.2
date	2006.05.03.13.25.06;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2006.01.22.23.42.31;	author aaron;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Switch exporter over
@
text
@# New ports collection makefile for:    tolua++
# Date created:         18 Jan 2006
# Whom:                 aaron@@FreeBSD.org
#
# $FreeBSD: head/lang/tolua++/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	tolua++
PORTVERSION=	1.0.93
CATEGORIES=	lang devel
MASTER_SITES=	http://www.codenix.com/~tolua/ \
		http://mirror.amdmi3.ru/distfiles/

MAINTAINER=	amdmi3@@FreeBSD.org
COMMENT=	An extended version of tolua, a tool to integrate C/C++ code with Lua

USE_BZIP2=	yes
USE_LUA=	5.1
USE_SCONS=	yes
SCONS_ARGS=	prefix=${PREFIX} SONAME="libtolua++-${LUA_VER}.so"

CFLAGS+=	-I${LUA_INCDIR}
LDFLAGS+=	-L${LUA_LIBDIR}

post-patch:
	@@${REINPLACE_CMD} -e "s|'lualib',||" ${WRKSRC}/config_posix.py

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}
	${INSTALL_DATA} ${WRKSRC}/lib/libtolua++.so ${LUA_LIBDIR}
	${INSTALL_DATA} ${WRKSRC}/lib/libtolua++.so ${PREFIX}/lib/libtolua++-${LUA_VER}.so

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64" && ${OSVERSION} > 900000
BROKEN=		Does not install on sparc64-9
.endif

.include <bsd.port.post.mk>
@


1.13
log
@Mark as broken on sparc64-9.

Hat:		portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@- Update to 1.0.93

PR:		154168
Submitted by:	Rusty Nejdl <rnejdl@@ringofsaturn.com>
@
text
@d36 7
a42 1
.include <bsd.port.mk>
@


1.11
log
@- Update URL of my distfile mirror in 87 ports

Approved by:	portmgr (erwin)
@
text
@d9 1
a9 2
PORTVERSION=	1.0.92
PORTREVISION=	3
@


1.10
log
@- Update address of my distfile mirror
@
text
@d13 1
a13 1
		http://mirror.amdmi3.ru/
@


1.9
log
@- Fix shared lib support
@
text
@d13 1
a13 1
		http://www.amdmi3.ru/distfiles/
@


1.8
log
@- Build shared library in addition to static [1]
- Fix compilation with gcc43 [2]

PRs:		126659 [1], 126660 [2]
Submitted by:	Tim Niemueller <tim at niemueller dot de>
@
text
@d10 1
a10 1
PORTREVISION=	2
d21 1
a21 1
SCONS_ARGS=	prefix=${PREFIX}
d35 1
@


1.7
log
@- Add tolua++50 port similar to tolua++
- tolua++50 is to be used with lua 5.0 and tolua++ with lua 5.1, update depends accordingly
- Depend on lua with USE_LUA instead of LIB_DEPEND
- Make both ports install files to (lua version)-specific directories, so they can coexist peacefully in a manner similar to tolua/tolua50.
- Take maintainership
- Add distfile mirror
- Remove USE_LDCONFIG (ports do not install any shared libs)
- Fix pkg-descr

Approved by:	miwi (mentor implicit)
@
text
@d10 1
a10 1
PORTREVISION=	1
d34 1
@


1.6
log
@Reset aaron's port maintainerships due to many maintainer-timeouts.
@
text
@d10 1
d12 2
a13 1
MASTER_SITES=	http://www.codenix.com/~tolua/
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
a17 2
LIB_DEPENDS=	lua:${PORTSDIR}/lang/lua50

d19 1
a19 1
USE_LDCONFIG=	yes
d23 11
a33 2
CFLAGS+=	-I/usr/local/include/lua50
LDFLAGS+=	-L/usr/local/lib/lua50
@


1.5
log
@Updated to 1.0.92

PR:		100042
Submitted by:	Alexander Botero-Lowry <alex@@foxybanana.com>
@
text
@d13 1
a13 1
MAINTAINER=	aaron@@FreeBSD.org
@


1.4
log
@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
@
text
@d9 1
a9 1
PORTVERSION=	1.0.4
a11 1
DISTFILES=	tolua++-current${EXTRACT_SUFX}
d16 1
a16 1
BUILD_DEPENDS=	${LOCALBASE}/bin/scons:${PORTSDIR}/devel/scons
d20 2
a21 2
USE_LUA=	5.0
NO_BUILD=	yes
d23 2
a24 11
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
@


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

PR:		ports/101612
Submitted by:	alepulver
Hat:		portmgr
@
text
@a17 1
LIB_DEPENDS=	lua:${PORTSDIR}/lang/lua50
a18 1
WRKSRC=		${WRKDIR}/tolua++-${PORTVERSION}
d20 2
a21 1
INSTALLS_SHLIB=	yes
@


1.2
log
@- Switch lua dependency to lang/lua50
@
text
@d12 1
a12 1
DISTNAME=	tolua++-current
d25 6
@


1.1
log
@Adding port lang/tolua++, a utility for better binding between Lua and C++.

Approved by:	tobez
@
text
@d18 1
a18 1
LIB_DEPENDS=	lua:${PORTSDIR}/lang/lua
@

