head	1.15;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.11
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.10
	RELEASE_5_5_0:1.10
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.1;
locks; strict;
comment	@# @;


1.15
date	2013.03.08.21.56.28;	author svnexp;	state Exp;
branches;
next	1.14;

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

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

1.12
date	2007.10.17.10.12.45;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2006.05.09.20.52.21;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2006.02.01.07.54.19;	author perky;	state Exp;
branches;
next	1.9;

1.9
date	2004.05.31.11.24.06;	author perky;	state Exp;
branches;
next	1.8;

1.8
date	2004.05.31.08.13.44;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.04.05.21.44;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.25.06.25.32;	author perky;	state Exp;
branches;
next	1.5;

1.5
date	2002.06.25.19.19.54;	author perky;	state Exp;
branches;
next	1.4;

1.4
date	2002.06.25.07.50.56;	author perky;	state Exp;
branches;
next	1.3;

1.3
date	2002.05.23.22.22.19;	author pat;	state Exp;
branches;
next	1.2;

1.2
date	2002.05.23.00.32.03;	author pat;	state Exp;
branches;
next	1.1;

1.1
date	2002.03.02.22.40.17;	author petef;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313635
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Hye-Shik Chang <perky@@fallin.lv>
# $FreeBSD: head/lang/spl/Makefile 313635 2013-03-08 11:32:11Z bapt $

PORTNAME=	spl
PORTVERSION=	1.2.1
PORTREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	http://shakespearelang.sourceforge.net/download/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	The Shakespeare programming language

USES=		bison
USE_GMAKE=	yes

ALL_EXAMPLES=	Makefile fibonacci.spl fibonacci2.spl guess.spl hello.spl \
		primes.spl reverse.spl shakesbeer.spl

post-patch:
.for f in . examples
	${REINPLACE_CMD} -e 's,= gcc,?= gcc,' -e 's,^CCFLAGS.*,CFLAGS += -Wall,' \
		-e 's,CCFLAGS,CFLAGS,g' ${WRKSRC}/${f}/Makefile
.endfor
	${REINPLACE_CMD} -e 's,\(#define STRING_LENGTH\).*,\1 25600,g' \
		-e 's,free(,//free(,g' ${WRKSRC}/makescanner.c

do-install:
	${TAR} -C ${WRKSRC}/spl -cf - . | ${TAR} -C ${PREFIX} -xf -
.if !defined(NOPORTDOCS)
	${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC}/examples && ${INSTALL_DATA} ${ALL_EXAMPLES} ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
@


1.14
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	spl
# Date created:		6 September 2001
# Whom:			Hye-Shik Chang <perky@@fallin.lv>
#
# $FreeBSD: head/lang/spl/Makefile 300896 2012-07-14 13:54:48Z beat $
#
d13 1
a13 1
USE_BISON=	build
@


1.13
log
@Reset perky@@FreeBSD.org due to maintainer-timeouts and no response
to email.

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


1.12
log
@Migration from bison 1.x to 2.x

PR:		117086
Tested by:	-exp runs
@
text
@d14 1
a14 1
MAINTAINER=	perky@@FreeBSD.org
@


1.11
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
USE_BISON=	yes
@


1.10
log
@Fix build on 7-current.  This adds a hack to avoid malloc problems but
the hack has no effect to the final binaries.
@
text
@a18 1
USE_REINPLACE=	yes
@


1.9
log
@Install on install phases and unmark BROKEN.
@
text
@d29 2
@


1.8
log
@BROKEN: Installs files during build phase
@
text
@a16 2
BROKEN=		Installs during build phase

d25 4
a28 5
	@@for f in ${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile; do \
	 ${REINPLACE_CMD} -i "" -e 's,= gcc,?= gcc,' -e 's,^CCFLAGS.*,CFLAGS += -Wall,' \
		-e 's,CCFLAGS,CFLAGS,g' -e 's,^SPLPATH =.*,SPLPATH =${PREFIX},g' \
		-e 's, spl/, ${PREFIX}/,g' $$f; \
	done
d30 2
a31 1
post-install:
@


1.7
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d17 2
@


1.6
log
@De-pkg-comment for my ports.
@
text
@d10 1
@


1.5
log
@Use REINPLACE_CMD as well as USE_REINPLACE
@
text
@d14 1
@


1.4
log
@Updating my email address.

Approved by: cjh (mentor)
@
text
@d17 1
d23 5
a27 3
	@@${PERL} -pi -e 's,= gcc,?= gcc,; s,^CCFLAGS.*,CFLAGS += -Wall,; \
		s,CCFLAGS,CFLAGS,g' \
		${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile
d29 1
a29 2
do-install:
	${TAR} -C ${WRKSRC}/spl -cf- . | ${TAR} -C ${PREFIX} -xpf-
a32 2
	@@${PERL} -pi -e 's,^SPLPATH =.*,SPLPATH =${PREFIX},g' \
		${EXAMPLESDIR}/Makefile
@


1.3
log
@back out commit made comparing OSVERSION and use sed(1) to workaround perl
on current issue. gotta back it out sooner or later.

/me puts on pointy hat

Requested by:	many
@
text
@d13 1
a13 1
MAINTAINER=	perky@@fallin.lv
@


1.2
log
@Fix ports for building with -current without perl

PR:		38359
Submitted by:	maintainer
@
text
@a17 1
ALL_TARGET=	spl2c libspl.a
a20 2
.include <bsd.port.pre.mk>

a21 1
.if ${OSVERSION} < 500036
d23 1
a23 2
		s,CCFLAGS,CFLAGS,g; s,^SPLPATH =.*,SPLPATH =${PREFIX},g; \
		s, spl/, ${PREFIX}/,g;' \
a24 7
.else
	@@for f in ${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile; do \
	  ${SED} -i "" -e 's,= gcc,?= gcc,' -e 's,^CCFLAGS.*,CFLAGS += -Wall,' \
		-e 's,CCFLAGS,CFLAGS,g' -e 's,^SPLPATH =.*,SPLPATH =${PREFIX},g' \
		-e 's, spl/, ${PREFIX}/,g' $$f; \
	done
.endif
d26 2
a27 1
post-install:
d31 2
d35 1
a35 1
.include <bsd.port.post.mk>
@


1.1
log
@Add spl 1.2.1, the Shakespeare programming language.

PR:		30395
Submitted by:	Hye-Shik Chang <perky@@fallin.lv>
@
text
@d18 1
d22 2
d25 1
d27 2
a28 1
		s,CCFLAGS,CFLAGS,g' \
d30 7
d38 1
a38 2
do-install:
	${TAR} -C ${WRKSRC}/spl -cf- . | ${TAR} -C ${PREFIX} -xpf-
a41 2
	@@${PERL} -pi -e 's,^SPLPATH =.*,SPLPATH =${PREFIX},g' \
		${EXAMPLESDIR}/Makefile
d44 1
a44 1
.include <bsd.port.mk>
@

