From d0ff1198e78be2abf6c942b19893b498bcdb8011 Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Sat, 2 Mar 2002 22:40:17 +0000 Subject: Add spl 1.2.1, the Shakespeare programming language. PR: 30395 Submitted by: Hye-Shik Chang --- lang/Makefile | 1 + lang/spl/Makefile | 35 +++++++++++++++++++++++++++++++++++ lang/spl/distinfo | 1 + lang/spl/pkg-comment | 1 + lang/spl/pkg-descr | 7 +++++++ lang/spl/pkg-plist | 12 ++++++++++++ 6 files changed, 57 insertions(+) create mode 100644 lang/spl/Makefile create mode 100644 lang/spl/distinfo create mode 100644 lang/spl/pkg-comment create mode 100644 lang/spl/pkg-descr create mode 100644 lang/spl/pkg-plist (limited to 'lang') diff --git a/lang/Makefile b/lang/Makefile index 674f3222cf5e..eebadd321e0e 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -182,6 +182,7 @@ SUBDIR += sml-nj SUBDIR += sml-nj-devel SUBDIR += snobol + SUBDIR += spl SUBDIR += squeak2 SUBDIR += squeak3 SUBDIR += sr diff --git a/lang/spl/Makefile b/lang/spl/Makefile new file mode 100644 index 000000000000..0a0d4656caf6 --- /dev/null +++ b/lang/spl/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: spl +# Date created: 6 September 2001 +# Whom: Hye-Shik Chang +# +# $FreeBSD$ +# + +PORTNAME= spl +PORTVERSION= 1.2.1 +CATEGORIES= lang +MASTER_SITES= http://shakespearelang.sourceforge.net/download/ + +MAINTAINER= perky@fallin.lv + +USE_BISON= yes +USE_GMAKE= yes + +ALL_EXAMPLES= Makefile fibonacci.spl fibonacci2.spl guess.spl hello.spl \ + primes.spl reverse.spl shakesbeer.spl + +post-patch: + @${PERL} -pi -e 's,= gcc,?= gcc,; s,^CCFLAGS.*,CFLAGS += -Wall,; \ + s,CCFLAGS,CFLAGS,g' \ + ${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile + +do-install: + ${TAR} -C ${WRKSRC}/spl -cf- . | ${TAR} -C ${PREFIX} -xpf- +.if !defined(NOPORTDOCS) + ${MKDIR} ${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${INSTALL_DATA} ${ALL_EXAMPLES} ${EXAMPLESDIR} + @${PERL} -pi -e 's,^SPLPATH =.*,SPLPATH =${PREFIX},g' \ + ${EXAMPLESDIR}/Makefile +.endif + +.include diff --git a/lang/spl/distinfo b/lang/spl/distinfo new file mode 100644 index 000000000000..6cb3c81302f8 --- /dev/null +++ b/lang/spl/distinfo @@ -0,0 +1 @@ +MD5 (spl-1.2.1.tar.gz) = c31de8415af80819eb944a1cecadddde diff --git a/lang/spl/pkg-comment b/lang/spl/pkg-comment new file mode 100644 index 000000000000..1b41ddecb113 --- /dev/null +++ b/lang/spl/pkg-comment @@ -0,0 +1 @@ +The Shakespeare programming language diff --git a/lang/spl/pkg-descr b/lang/spl/pkg-descr new file mode 100644 index 000000000000..69e98b1b2b5f --- /dev/null +++ b/lang/spl/pkg-descr @@ -0,0 +1,7 @@ +The Shakespeare programming language is another esoteric +programming language like Chef, Sorted! and others. The +main purpose of this language is to make the source code +for programs written with it resemble a Shakespeare play. +Yes, it's totally unnecessary, but also very fun. + +WWW: http://shakespearelang.sourceforge.net diff --git a/lang/spl/pkg-plist b/lang/spl/pkg-plist new file mode 100644 index 000000000000..76ca78b69821 --- /dev/null +++ b/lang/spl/pkg-plist @@ -0,0 +1,12 @@ +bin/spl2c +include/spl.h +lib/libspl.a +%%PORTDOCS%%share/examples/spl/Makefile +%%PORTDOCS%%share/examples/spl/hello.spl +%%PORTDOCS%%share/examples/spl/primes.spl +%%PORTDOCS%%share/examples/spl/reverse.spl +%%PORTDOCS%%share/examples/spl/fibonacci.spl +%%PORTDOCS%%share/examples/spl/fibonacci2.spl +%%PORTDOCS%%share/examples/spl/guess.spl +%%PORTDOCS%%share/examples/spl/shakesbeer.spl +%%PORTDOCS%%@dirrm share/examples/spl -- cgit v1.2.3