ports/52365: New Port: Common Lisp portability package

Henrik Motakef henrik.motakef at web.de
Sat May 17 13:00:46 UTC 2003


>Number:         52365
>Category:       ports
>Synopsis:       New Port: Common Lisp portability package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 17 06:00:26 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Motakef
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD interim.henrik-motakef.de 5.1-BETA FreeBSD 5.1-BETA #0: Wed May 7 14:59:01 CEST 2003 henrik at interim.henrik-motakef.de:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	CLOCC Port is a wrapper library for various functions (sockets,
	shell access, etc) that are widely implemented in Common Lisp
	systems, but lack a standardized interface.

	This port depends on the previously submitted ASDF port. It installs
	the source files and an .asd file (which plays a similar role to
	a Makefile and a pkg-config script). There are other ports for each
	supported Lisp system.
>How-To-Repeat:
>Fix:

# 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:
#
#	cl-port
#	cl-port/distinfo
#	cl-port/Makefile
#	cl-port/pkg-descr
#	cl-port/files
#	cl-port/files/patch-clocc-port.asd
#	cl-port/pkg-plist
#
echo c - cl-port
mkdir -p cl-port > /dev/null 2>&1
echo x - cl-port/distinfo
sed 's/^X//' >cl-port/distinfo << 'END-of-cl-port/distinfo'
XMD5 (clocc-port_2002-10-02-1.tar.gz) = 28175b1dc7112f85e4ea286fb77b0396
END-of-cl-port/distinfo
echo x - cl-port/Makefile
sed 's/^X//' >cl-port/Makefile << 'END-of-cl-port/Makefile'
X# New ports collection Makefile for:	cl-port
X# Date created:				12 May 2003
X# Whom:					Henrik Motakef <henrik.motakef at web.de>
X#
X# $FreeBSD$
X
XPORTNAME=		port
XPORTVERSION=		2002.10.02.1
XCATEGORIES=		devel
XMASTER_SITES=		ftp://ftp.linux.org.uk/pub/lisp/experimental/cclan/ \
X			ftp://ftp.ntnu.no/pub/lisp/cclan/ \
X			ftp://www.aarg.net/pub/cclan/ \
X			http://thingamy.com/cclan/ \
X			http://www-jcsu.jesus.cam.ac.uk/ftp/pub/cclan/
XPKGNAMEPREFIX=		cl-
XDISTNAME=		clocc-${PORTNAME}_2002-10-02-1
X
XMAINTAINER=		henrik.motakef at web.de
XCOMMENT=		Cross-Lisp portability package
X
XBUILD_DEPENDS=		${LOCALBASE}/lib/common-lisp/asdf/asdf.lisp:${PORTSDIR}/devel/cl-asdf
XRUN_DEPENDS=		${LOCALBASE}/lib/common-lisp/asdf/asdf.lisp:${PORTSDIR}/devel/cl-asdf
X
XWRKSRC=			${WRKDIR}/clocc-${PORTNAME}
XDOCSDIR?=		${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
XNO_BUILD=		yes
XCL_LIBDIR=		${PREFIX}/lib/common-lisp
X
Xdo-install:
X	${MKDIR} ${CL_LIBDIR}/port
X	${INSTALL_DATA} ${WRKSRC}/clocc-port.asd ${CL_LIBDIR}/port/port.asd
X	${INSTALL_DATA} ${WRKSRC}/port.system ${CL_LIBDIR}/port/port.system
X	${INSTALL_DATA} ${WRKSRC}/*.lisp ${CL_LIBDIR}/port/
X	${LN} -s ${CL_LIBDIR}/port/port.asd ${CL_LIBDIR}/system-registry/port.asd
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/port.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-cl-port/Makefile
echo x - cl-port/pkg-descr
sed 's/^X//' >cl-port/pkg-descr << 'END-of-cl-port/pkg-descr'
XCLOCC Port provides a portable interface to various features absent
Xfrom the ANSI Common Lisp standard, such as sockets, multiprocessing,
Xcalling external programs, Gray streams etc.
X
XWWW: http://clocc.sourceforge.net
X
X-- Henrik Motakef
X   <henrik.motakef at web.de>
END-of-cl-port/pkg-descr
echo c - cl-port/files
mkdir -p cl-port/files > /dev/null 2>&1
echo x - cl-port/files/patch-clocc-port.asd
sed 's/^X//' >cl-port/files/patch-clocc-port.asd << 'END-of-cl-port/files/patch-clocc-port.asd'
X--- clocc-port.asd.orig	Mon May 12 14:58:29 2003
X+++ clocc-port.asd	Mon May 12 14:58:44 2003
X@@ -14,7 +14,7 @@
X 
X (in-package port)
X 
X-(asdf:defsystem #:clocc-port
X+(asdf:defsystem #:port
X   :version "2002-10-02-1"
X   :components
X   ((:file "ext")
END-of-cl-port/files/patch-clocc-port.asd
echo x - cl-port/pkg-plist
sed 's/^X//' >cl-port/pkg-plist << 'END-of-cl-port/pkg-plist'
Xlib/common-lisp/system-registry/port.asd
Xlib/common-lisp/port/port.asd
Xlib/common-lisp/port/port.system
Xlib/common-lisp/port/ext.lisp
Xlib/common-lisp/port/gray.lisp
Xlib/common-lisp/port/net.lisp
Xlib/common-lisp/port/path.lisp
Xlib/common-lisp/port/proc.lisp
Xlib/common-lisp/port/shell.lisp
Xlib/common-lisp/port/sys.lisp
X%%PORTDOCS%%share/doc/cl-port/port.html
X at dirrm lib/common-lisp/port
X at dirrm share/doc/cl-port
END-of-cl-port/pkg-plist
exit

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



More information about the freebsd-ports-bugs mailing list