Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2000 19:17:05 -0800 (PST)
From:      jabrown@caida.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16542: New port: lang/clisp
Message-ID:  <200002070317.TAA18740@stimpy.nlanr.net>

next in thread | raw e-mail | index | archive | help

>Number:         16542
>Category:       ports
>Synopsis:       New port: lang/clisp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb  6 19:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Brown
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:
>Description:

A port of CLISP, an ANSI Common Lisp, from http://clisp.cons.org/
This is my first port, I'm sorry for any cruft.

>How-To-Repeat:
>Fix:

Here goes:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	clisp
#	clisp/files
#	clisp/files/md5
#	clisp/pkg
#	clisp/pkg/COMMENT
#	clisp/pkg/DESCR
#	clisp/pkg/PLIST
#	clisp/Makefile
#	clisp/patches
#	clisp/patches/patch-aa
#
echo c - clisp
mkdir -p clisp > /dev/null 2>&1
echo c - clisp/files
mkdir -p clisp/files > /dev/null 2>&1
echo x - clisp/files/md5
sed 's/^X//' >clisp/files/md5 << 'END-of-clisp/files/md5'
XMD5 (clisp-1999-07-22.tar.gz) = 25bdf66df55b81a54c16ea5102610483
END-of-clisp/files/md5
echo c - clisp/pkg
mkdir -p clisp/pkg > /dev/null 2>&1
echo x - clisp/pkg/COMMENT
sed 's/^X//' >clisp/pkg/COMMENT << 'END-of-clisp/pkg/COMMENT'
XThis is CLISP - an ANSI Common Lisp
END-of-clisp/pkg/COMMENT
echo x - clisp/pkg/DESCR
sed 's/^X//' >clisp/pkg/DESCR << 'END-of-clisp/pkg/DESCR'
X   Common Lisp is a high-level, all-purpose, object-oriented, dynamic,
X   functional programming language.
X
X   CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe
X   University and Michael Stoll of Munich University, both in Germany. It   
X   mostly supports the Lisp described in the ANSI Common Lisp standard. 
X
X   CLISP includes an interpreter, a compiler, a large subset of CLOS, a 
X   foreign language interface and a socket interface. An X11 interface is   
X   available through CLX and Garnet. Command line editing is provided by
X   readline.
X
X   CLISP is free software and may be distributed under the terms of GNU 
X   GPL. You may distribute commercial applications compiled with CLISP, 
X   see file COPYRIGHT in the CLISP distribution.
X
X   The user interface comes in German, English, French and Spanish, and 
X   can be change at run time.   
END-of-clisp/pkg/DESCR
echo x - clisp/pkg/PLIST
sed 's/^X//' >clisp/pkg/PLIST << 'END-of-clisp/pkg/PLIST'
Xbin/clisp
Xlib/clisp/clisp-link
Xlib/clisp/base/libavcall.a
Xlib/clisp/base/libcallback.a
Xlib/clisp/base/libintl.a
Xlib/clisp/base/libnoreadline.a
Xlib/clisp/base/libreadline.a
Xlib/clisp/base/libsigsegv.a
Xlib/clisp/base/lisp.a
Xlib/clisp/base/lisp.run
Xlib/clisp/base/lispinit.mem
Xlib/clisp/base/makevars
Xlib/clisp/base/modules.h
Xlib/clisp/base/modules.o
Xlib/clisp/data/UnicodeData.txt
Xlib/clisp/full/libavcall.a
Xlib/clisp/full/libcallback.a
Xlib/clisp/full/libintl.a
Xlib/clisp/full/libnoreadline.a
Xlib/clisp/full/libreadline.a
Xlib/clisp/full/libsigsegv.a
Xlib/clisp/full/lisp.a
Xlib/clisp/full/lisp.run
Xlib/clisp/full/lispinit.mem
Xlib/clisp/full/makevars
Xlib/clisp/full/modules.h
Xlib/clisp/full/modules.o
Xlib/clisp/linkkit/clisp.h
Xlib/clisp/linkkit/modules.c
Xlib/clisp/linkkit/modules.d
Xshare/doc/clisp/ANNOUNCE
Xshare/doc/clisp/COPYRIGHT
Xshare/doc/clisp/GNU-GPL
Xshare/doc/clisp/MAGIC.add
Xshare/doc/clisp/NEWS
Xshare/doc/clisp/README
Xshare/doc/clisp/README.de
Xshare/doc/clisp/README.es
Xshare/doc/clisp/SUMMARY
Xshare/doc/clisp/doc/CLOS-guide.txt
Xshare/doc/clisp/doc/LISP-tutorial.txt
Xshare/doc/clisp/doc/clisp.1
Xshare/doc/clisp/doc/clisp.dvi
Xshare/doc/clisp/doc/clisp.gif
Xshare/doc/clisp/doc/clisp.html
Xshare/doc/clisp/doc/clreadline.3
Xshare/doc/clisp/doc/clreadline.dvi
Xshare/doc/clisp/doc/clreadline.html
Xshare/doc/clisp/doc/editors.txt
Xshare/doc/clisp/doc/impnotes.html
Xshare/doc/clisp/doc/readline.dvi
Xshare/locale/de/LC_MESSAGES/clisp.mo
Xshare/locale/en/LC_MESSAGES/clisp.mo
Xshare/locale/es/LC_MESSAGES/clisp.mo
Xshare/locale/fr/LC_MESSAGES/clisp.mo
X@dirrm share/doc/clisp/doc
X@dirrm share/doc/clisp
X@dirrm lib/clisp/base
X@dirrm lib/clisp/data
X@dirrm lib/clisp/full
X@dirrm lib/clisp/linkkit
X@dirrm lib/clisp
X@unexec rmdir %D/share/doc 2>/dev/null || true
X@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
X@unexec rmdir %D/share/locale/de 2>/dev/null || true
X@unexec rmdir %D/share/locale/en/LC_MESSAGES 2>/dev/null || true
X@unexec rmdir %D/share/locale/en 2>/dev/null || true
X@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
X@unexec rmdir %D/share/locale/es 2>/dev/null || true
X@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
X@unexec rmdir %D/share/locale/fr 2>/dev/null || true
X@unexec rmdir %D/share/locale 2>/dev/null || true
END-of-clisp/pkg/PLIST
echo x - clisp/Makefile
sed 's/^X//' >clisp/Makefile << 'END-of-clisp/Makefile'
X# New ports collection makefile for:    clisp
X# Version required:     1999-07-22
X# Date created:         Feb  5 2000
X# Whom:                 Jeff Brown <jabrown@caida.org>
X#
X# $FreeBSD:$
X#
X
XDISTNAME=	clisp-1999-07-22
XPKGNAME=	clisp-1999.07.22
XCATEGORIES=	lang
XMASTER_SITES=	ftp://ftp2.cons.org/pub/lisp/clisp/source/ \
X		ftp://ftp.cdrom.com/pub/lisp/clisp/source/
X
XMAINTAINER=	ports@FreeBSD.org
X
X# Build subdirectory
XBUILD_DIRNAME=obj
X
X# These came from clisp's "configure" on my system.
XMAKEMAKE_ARGS=--prefix=${PREFIX} --with-readline --with-gettext \
X	--with-dynamic-ffi
X
X# The post-install target uses these to fix permissions.
XDATA_PATHS=${PREFIX}/lib/clisp ${PREFIX}/share/doc/clisp \
X	${PREFIX}/share/locale/de/LC_MESSAGES/clisp.mo \
X	${PREFIX}/share/locale/en/LC_MESSAGES/clisp.mo \
X	${PREFIX}/share/locale/es/LC_MESSAGES/clisp.mo \
X	${PREFIX}/share/locale/fr/LC_MESSAGES/clisp.mo
XPROG_PATHS=${PREFIX}/bin/clisp
XMAN_PATHS=${PREFIX}/man/man1/clisp.1 ${PREFIX}/man/man3/clreadline.3
X
X# The source doesn't include a top-level Makefile, so we'll fake one.
Xpost-extract:
X	@cd ${WRKSRC} && \
X	printf "all install:\n\t@cd ${WRKSRC}/${BUILD_DIRNAME} && \$${MAKE} \$${MAKEFLAGS} \$$@\n" > ${WRKSRC}/Makefile
X
X# It looks like the 'configure' script in the source gets seriously confused
X# by the environment it gets from GNU_CONFIGURE=YES, so we'll call it here.
X#
X# The 'configure' wants the CC environment variable to include CFLAGS; but
X# I'll ignore it since if CFLAGS includes "-pipe", configure gets stuck reading
X# from stdin, using the assembler in gcc 2.7.2.3
Xpre-configure:
X	@cd ${WRKSRC} && \
X	${RM} -rf ${BUILD_DIRNAME} && \
X	env CC="${CC}" ./configure --prefix=${PREFIX} ${BUILD_DIRNAME}
X#	env CC="${CC} ${CFLAGS}"
X
X# The 'configure' script stops short of doing this for us.
Xpost-configure:
X	@cd ${WRKSRC}/${BUILD_DIRNAME} && \
X	./makemake ${MAKEMAKE_ARGS} > Makefile && \
X	make config.lsp
X
X# The build uses INSTALL_* to copy files around, but since the Ports
X# INSTALL_* try to set file permissions, using them breaks non-root builds.
X# Instead, we'll just fix up permissions after we install the files.
Xpost-install:
X	${CHOWN} -R ${BINOWN}.${BINGRP} ${PROG_PATHS}
X	${CHMOD} -R ugo+rX,ugo-w ${PROG_PATHS}
X	${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${DATA_PATHS}
X	${CHMOD} -R ugo+rX,ugo-w ${DATA_PATHS}
X	${CHOWN} -R ${MANOWN}.${MANGRP} ${MAN_PATHS}
X	${CHMOD} -R ugo+rX,ugo-w ${MAN_PATHS}
X
XMAN1=	clisp.1
XMAN3=	clreadline.3
X
X.include <bsd.port.mk>
END-of-clisp/Makefile
echo c - clisp/patches
mkdir -p clisp/patches > /dev/null 2>&1
echo x - clisp/patches/patch-aa
sed 's/^X//' >clisp/patches/patch-aa << 'END-of-clisp/patches/patch-aa'
X--- src/makemake.in.orig	Tue Jul 20 12:03:11 1999
X+++ src/makemake.in	Sun Feb  6 11:12:23 2000
X@@ -1593,7 +1593,14 @@
X echol "mandir = \$(exec_prefix)${NEXT_}man"
X echol "htmldir = \$(exec_prefix)${NEXT_}share${NEXT_}html"
X echol "dvidir = \$(exec_prefix)${NEXT_}share${NEXT_}dvi"
X+fsstnd=freebsd
X case "$fsstnd" in
X+  freebsd)
X+    echol "docdir = \$(exec_prefix)${NEXT_}share${NEXT_}doc"
X+    echol "lispdocdir = \$(docdir)${NEXT_}clisp"
X+    echol "htmldir = \$(lispdocdir)"
X+    echol "dvidir = \$(lispdocdir)"
X+    ;;
X   gnu_ext)
X     echol "docdir = \$(exec_prefix)${NEXT_}doc"
X     echol "lispdocdir = \$(docdir)${NEXT_}clisp"
END-of-clisp/patches/patch-aa
exit


>Release-Note:
>Audit-Trail:
>Unformatted:
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002070317.TAA18740>