head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	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;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.05.58.57;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2011.10.24.03.33.12;	author stas;	state Exp;
branches;
next	1.3;

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

1.2
date	2009.10.25.23.54.21;	author stas;	state Exp;
branches;
next	1.1;

1.1
date	2009.10.24.10.28.01;	author stas;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	stalin
# Date created:				10/23/2009
# Whom:					stas
#
# $FreeBSD: head/lang/stalin/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	stalin
PORTVERSION=	0.11
PORTREVISION=	1
CATEGORIES=	lang scheme
MASTER_SITES=	ftp://ftp.SpringDaemons.com/soft/
DISTNAME=	stalin-freebsd-${PORTVERSION}_1

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	An aggressive optimizing Scheme compiler

LIB_DEPENDS=	gc.1:${PORTSDIR}/devel/boehm-gc

USE_BZIP2=	yes
ONLY_FOR_ARCHS=	i386 amd64 sparc64
ONLY_FOR_ARCHS_REASON=	has not been bootstrapped on other platforms yet

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
STALIN_SRC=	"stalin-IA32.c"
.elif ${ARCH} == "amd64"
STALIN_SRC=	"stalin-AMD64.c"
.elif ${ARCH} == "sparc64"
STALIN_SRC=	"stalin-SPARC64.c"
.endif
STALIN_LIBDIR=	${PREFIX}/lib/stalin

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64: includes i386 asm
.endif

EMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
SUB_FILES=	stalin.sh
MAN1=	stalin.1

do-build:
	(cd ${WRKSRC}/ && ${CC} -o stalin -I${LOCALBASE}/include \
	    -L${LOCALBASE}/lib -lgc -lm ${CFLAGS} ${STALIN_SRC})
	ar -rc ${WRKSRC}/libstalin.a

do-install:
	${MKDIR} ${STALIN_LIBDIR}/
	${INSTALL_PROGRAM} ${WRKSRC}/stalin ${STALIN_LIBDIR}/
	(cd ${WRKSRC}/include && ${COPYTREE_SHARE} \* ${STALIN_LIBDIR}/)
	${CHMOD} 755 ${STALIN_LIBDIR}
	${CHMOD} a+x ${STALIN_LIBDIR}/stalin-architecture-name
	${INSTALL_SCRIPT} ${WRKDIR}/stalin.sh ${PREFIX}/bin/stalin
	${INSTALL_MAN} ${WRKSRC}/stalin.1 ${MAN1PREFIX}/man/man1/
	${INSTALL_DATA} ${WRKSRC}/stalin.el ${EMACSLISPDIR}/
	${INSTALL_DATA} ${WRKSRC}/libstalin.a ${STALIN_LIBDIR}/
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif

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


1.4
log
@- Return my ports back to the pool.  I was unable to make any fixes to
  my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@Mark as broken on sparc64: includes i386 asm.

Hat:		portmgr
@
text
@d15 1
a15 1
MAINTAINER=	stas@@FreeBSD.org
@


1.2
log
@- Add sparc64 support (untested).
@
text
@d35 4
@


1.1
log
@- Add port for lang/stalin, an aggressive optimizing Scheme compiler, which
  is able to outperform hand-written C in a number of tests.
  This is a modified version suitable to use on FreeBSD i386/amd64.
  It possible to run it on other platfroms as well, but I have not
  boostrapped/tested it on anything except i386/amd64 yet.

  Author:	Jeffrey Mark Siskind
  WWW:	http://cobweb.ecn.purdue.edu/~qobi/software.html
@
text
@d10 1
d13 1
a13 1
DISTNAME=	stalin-freebsd-${PORTVERSION}
d21 1
a21 1
ONLY_FOR_ARCHS=	i386 amd64
d30 2
@

