head	1.12;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3;
locks; strict;
comment	@# @;


1.12
date	2012.11.17.05.58.57;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2011.12.29.15.31.54;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2010.07.18.21.35.08;	author makc;	state Exp;
branches;
next	1.9;

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

1.8
date	2009.07.21.00.45.46;	author pgollucci;	state Exp;
branches;
next	1.7;

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

1.6
date	2009.03.21.01.26.16;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2008.09.07.00.18.35;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2008.02.28.18.26.58;	author sat;	state Exp;
branches;
next	1.3;

1.3
date	2007.07.31.07.53.53;	author sat;	state Exp;
branches;
next	1.2;

1.2
date	2007.07.14.16.31.39;	author sat;	state Exp;
branches;
next	1.1;

1.1
date	2007.07.14.12.17.11;	author sat;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switch exporter over
@
text
@# New ports collection makefile for:	squirrel
# Date created:		14 July 2007
# Whom:			Andrew Pantyukhin <infofarmer@@FreeBSD.org>
#
# $FreeBSD: head/lang/squirrel/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	squirrel
PORTVERSION=	2.2.5
CATEGORIES=	lang
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}%20${PORTVERSION}%20stable
DISTNAME=	${PORTNAME}_${DISTVERSION}_stable

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	High level imperative/OO programming language

CONFLICTS=	squsq-[0-9]*
USE_DOS2UNIX=	yes
USE_LDCONFIG=	yes
WRKSRC=		${WRKDIR}/SQUIRREL2

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64 || ${ARCH} == sparc64 || ${ARCH} == ia64
ALL_TARGET=	sq64
CFLAGS+=	-fPIC
.else
ALL_TARGET=	sq32
.endif

post-extract:
	@@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
	@@${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;

post-patch:
	@@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
		-e '/^MAKE/d; s|gcc|$${CC}|; s|-O2|$${CFLAGS}|; s|g++|$${CXX}|' \
		-e 's|\.a|.so|g; s|ar rc|$${CC} ${CFLAGS} -shared -o|'
	@@${REINPLACE_CMD} -e '/cd / s|$$|\&\& cd ..|' ${WRKSRC}/Makefile

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/bin/sq ${PREFIX}/bin/
	@@cd ${WRKSRC}/lib && ${INSTALL_PROGRAM} libsqstdlib.so libsquirrel.so \
		${PREFIX}/lib/
	@@${LN} -sf libsqstdlib.so ${PREFIX}/lib/libsqstdlib.so.0
	@@${LN} -sf libsquirrel.so ${PREFIX}/lib/libsquirrel.so.0
	@@cd ${WRKSRC}/include && ${INSTALL_DATA} *.h ${PREFIX}/include/

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


1.11
log
@- Update to 2.2.5

PR:		163659
Submitted by:	Armin Pirkovitsch <armin@@frozen-zone.org>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.10
log
@Update to 2.2.4

PR:		ports/148735
Submitted by:	Armin Pirkovitsch <armin at frozen-zone.org>
@
text
@d9 1
a9 1
PORTVERSION=	2.2.4
@


1.9
log
@- Switch SourceForge ports to the new File Release System: categories starting with H,I,J,K,L
@
text
@d9 1
a9 1
PORTVERSION=	2.2.3
@


1.8
log
@- Update to 2.2.3
@
text
@d11 1
a11 1
MASTER_SITES=	SF
@


1.7
log
@- Chmod dirs/files 755/644 after extraction, as everything is extracted with 000 by default
- Fix build (cd: can't cd to sqstdlib)
- Clean the port up a bit, add some whitespace
- Use traditional plist
@
text
@d9 1
a9 1
PORTVERSION=	2.2.2
@


1.6
log
@- Update to 2.2.2

PR:		132830
Submitted by:	Wen Heping <wenheping@@gmail.com>
@
text
@a20 5
SHORTINCS=	stdaux stdblob stdio stdmath stdstring stdsystem uirrel
FULLINCS=	${SHORTINCS:S|^|sq|:S|$|.h|}
PLIST_FILES=	bin/sq lib/libsqstdlib.so lib/libsqstdlib.so.0\
		lib/libsquirrel.so lib/libsquirrel.so.0\
		${FULLINCS:S|^|include/|}
d31 4
d36 4
a39 3
	@@${FIND} ${WRKSRC} -name Makefile|${XARGS} ${REINPLACE_CMD}\
		-e '/^MAKE/d;s|gcc|$${CC}|;s|-O2|$${CFLAGS}|;s|g++|$${CXX}|'\
		-e 's|\.a|.so|g;s|ar rc|$${CC} ${CFLAGS} -shared -o|'
d43 1
a43 1
	@@cd ${WRKSRC}/lib&&${INSTALL_PROGRAM} libsqstdlib.so libsquirrel.so\
d47 1
a47 2
	@@cd ${WRKSRC}/include&&${INSTALL_DATA} ${FULLINCS}\
		${PREFIX}/include/
@


1.5
log
@Reset infofarmer due to maintainer-timeouts and no response to email.

Hat:	portmgr
@
text
@d9 1
a9 1
PORTVERSION=	2.2
@


1.4
log
@- Update to 2.2
@
text
@d14 1
a14 1
MAINTAINER=	infofarmer@@FreeBSD.org
@


1.3
log
@- Update to 2.1.2
@
text
@d9 1
a9 1
PORTVERSION=	2.1.2
@


1.2
log
@- Fix build on 32-bit platforms

Reported by:	pointyhat via pav
@
text
@d9 1
a9 1
PORTVERSION=	2.1.1
@


1.1
log
@- Add port lang/squirrel
- Register conflicts with archivers/squsq

Squirrel is a high level imperative/OO programming language, designed
to be a powerful scripting tool that fits in the size, memory bandwidth,
and real-time requirements of applications like games. However Squirrel
offers a wide range of features like dynamic typing, delegation, classes
& inheritance, higher order functions, generators, coroutines, tail
recursion, exception handling, automatic memory management, weak
references, etc.

Squirrel is inspired by languages like Python, Javascript and especially
Lua. The API is very similar and the table code is based on the Lua one.

WWW: http://squirrel-lang.org/
Author: Alberto Demichelis <alberto@@ademichelis.com>
@
text
@d32 2
@

