diff options
author | petef <petef@FreeBSD.org> | 2002-03-03 06:40:17 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-03-03 06:40:17 +0800 |
commit | e38cb5e0710dcae7aa825bbffa8ed07e9c2a0648 (patch) | |
tree | caa2b3dfcf01809fd55f7ecafc1556f6bdfc5cb2 | |
parent | 39cfe8183053d19fe62c542de32a6b63ac072dca (diff) | |
download | freebsd-ports-gnome-e38cb5e0710dcae7aa825bbffa8ed07e9c2a0648.tar.gz freebsd-ports-gnome-e38cb5e0710dcae7aa825bbffa8ed07e9c2a0648.tar.zst freebsd-ports-gnome-e38cb5e0710dcae7aa825bbffa8ed07e9c2a0648.zip |
Add spl 1.2.1, the Shakespeare programming language.
PR: 30395
Submitted by: Hye-Shik Chang <perky@fallin.lv>
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/spl/Makefile | 35 | ||||
-rw-r--r-- | lang/spl/distinfo | 1 | ||||
-rw-r--r-- | lang/spl/pkg-comment | 1 | ||||
-rw-r--r-- | lang/spl/pkg-descr | 7 | ||||
-rw-r--r-- | lang/spl/pkg-plist | 12 |
6 files changed, 57 insertions, 0 deletions
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 <perky@fallin.lv> +# +# $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 <bsd.port.mk> 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 |