summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-08-05 16:29:25 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-08-05 16:29:25 +0000
commita0a4910d708cd5f220808d9c79745564ba956e17 (patch)
tree6adca4a1dc8c474baff6a94439902c61b81b0af2 /dev-lisp
parentAdded to ~ppc (diff)
downloadhistorical-a0a4910d708cd5f220808d9c79745564ba956e17.tar.gz
historical-a0a4910d708cd5f220808d9c79745564ba956e17.tar.bz2
historical-a0a4910d708cd5f220808d9c79745564ba956e17.zip
.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/cl-cgi-utils/ChangeLog11
-rw-r--r--dev-lisp/cl-cgi-utils/Manifest16
-rw-r--r--dev-lisp/cl-cgi-utils/cl-cgi-utils-0.7.ebuild40
-rw-r--r--dev-lisp/cl-cgi-utils/files/0.7-defconstant-gentoo.patch40
-rw-r--r--dev-lisp/cl-cgi-utils/files/0.7-dont-print-during-make-gentoo.patch22
-rw-r--r--dev-lisp/cl-cgi-utils/files/digest-cl-cgi-utils-0.71
-rw-r--r--dev-lisp/cl-cgi-utils/metadata.xml5
7 files changed, 135 insertions, 0 deletions
diff --git a/dev-lisp/cl-cgi-utils/ChangeLog b/dev-lisp/cl-cgi-utils/ChangeLog
new file mode 100644
index 000000000000..e6ce97ad6be5
--- /dev/null
+++ b/dev-lisp/cl-cgi-utils/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lisp/cl-cgi-utils
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-cgi-utils/ChangeLog,v 1.1 2005/08/05 16:29:25 mkennedy Exp $
+
+*cl-cgi-utils-0.7 (05 Aug 2005)
+
+ 05 Aug 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/0.7-dont-print-during-make-gentoo.patch, +metadata.xml,
+ +cl-cgi-utils-0.7.ebuild:
+ Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>.
+
diff --git a/dev-lisp/cl-cgi-utils/Manifest b/dev-lisp/cl-cgi-utils/Manifest
new file mode 100644
index 000000000000..b3d72de0ae95
--- /dev/null
+++ b/dev-lisp/cl-cgi-utils/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 07939a427f3339d00ce7dc45dc68baf3 cl-cgi-utils-0.7.ebuild 1124
+MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
+MD5 62a8b5399465ce56a95e4169c29d243e ChangeLog 475
+MD5 a4d798bb23b4643157b4cf2f0a09713f files/digest-cl-cgi-utils-0.7 69
+MD5 1d23887d5cc8c1a809febd79ef258fba files/0.7-dont-print-during-make-gentoo.patch 740
+MD5 1d3228539162c60b27db0937990e1ff3 files/0.7-defconstant-gentoo.patch 1887
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFC85P/yiNZaEAZA+ARAiVEAKCCUqsEa2JOIxmNAP8PhoXxPqUi7ACdHBEe
+KVJdJu47axz3iKSS46DLI3I=
+=wV3O
+-----END PGP SIGNATURE-----
diff --git a/dev-lisp/cl-cgi-utils/cl-cgi-utils-0.7.ebuild b/dev-lisp/cl-cgi-utils/cl-cgi-utils-0.7.ebuild
new file mode 100644
index 000000000000..3f24c5c5556b
--- /dev/null
+++ b/dev-lisp/cl-cgi-utils/cl-cgi-utils-0.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-cgi-utils/cl-cgi-utils-0.7.ebuild,v 1.1 2005/08/05 16:29:25 mkennedy Exp $
+
+inherit common-lisp eutils
+
+DESCRIPTION="lisp-cgi-utils is a Common Lisp library for developing CGI applications."
+HOMEPAGE="http://www.thangorodrim.de/software/lisp-cgi-utils/index.html"
+SRC_URI="http://www.thangorodrim.de/software/lisp-cgi-utils/lisp-cgi-utils-${PV}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ppc ~sparc x86"
+IUSE="doc"
+
+CLPACKAGE=lisp-cgi-utils
+
+DEPEND="doc? ( virtual/tetex dev-tex/hevea )"
+
+S=${WORKDIR}/lisp-cgi-utils-${PV}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-dont-print-during-make-gentoo.patch || die
+ epatch ${FILESDIR}/${PV}-defconstant-gentoo.patch || die
+}
+
+src_compile() {
+ if use doc; then
+ make -C doc || die
+ fi
+}
+
+src_install() {
+ common-lisp-install *.{lisp,asd}
+ common-lisp-system-symlink
+ dodoc LGPL-2.1
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ use doc && dodoc doc/{examples,cookies}.{dvi,ps,pdf,html,txt}
+}
diff --git a/dev-lisp/cl-cgi-utils/files/0.7-defconstant-gentoo.patch b/dev-lisp/cl-cgi-utils/files/0.7-defconstant-gentoo.patch
new file mode 100644
index 000000000000..716910e5c999
--- /dev/null
+++ b/dev-lisp/cl-cgi-utils/files/0.7-defconstant-gentoo.patch
@@ -0,0 +1,40 @@
+diff -ur --exclude doc --exclude '*.fasl' --exclude '*~' lisp-cgi-utils-0.7.orig/html.lisp lisp-cgi-utils-0.7/html.lisp
+--- lisp-cgi-utils-0.7.orig/html.lisp 2005-05-17 16:38:20.000000000 -0500
++++ lisp-cgi-utils-0.7/html.lisp 2005-08-05 10:28:04.000000000 -0500
+@@ -60,7 +60,7 @@
+ (proclaim '(optimize (safety 3) (speed 3))) ;
+
+
+-(defconstant +html-header+
++(cl+:defconst +html-header+
+ "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">
+ <html>"
+ "default HTML header")
+diff -ur --exclude doc --exclude '*.fasl' --exclude '*~' lisp-cgi-utils-0.7.orig/http.lisp lisp-cgi-utils-0.7/http.lisp
+--- lisp-cgi-utils-0.7.orig/http.lisp 2005-05-17 16:38:20.000000000 -0500
++++ lisp-cgi-utils-0.7/http.lisp 2005-08-05 10:28:31.000000000 -0500
+@@ -113,10 +113,10 @@
+ (defvar *cookie-name-xlator* (make-hash-table :test #'equal)
+ "translator for case insensitive cookie lookup (according to RFC2109)")
+
+-(defconstant +hex-char-digits+ "0123456789ABCDEF" "valid digits of
++(cl+:defconst +hex-char-digits+ "0123456789ABCDEF" "valid digits of
+ hexadecimal numbers, inorder")
+
+-(defconstant +url-encode-ok-chars+ '( #\. #\/)
++(cl+:defconst +url-encode-ok-chars+ '( #\. #\/)
+ "Characters that are ok in URL-encoding and need not be encoded.
+ Note: alphanumerics are automagically assumed to not need encoding.")
+
+diff -ur --exclude doc --exclude '*.fasl' --exclude '*~' lisp-cgi-utils-0.7.orig/lisp-cgi-utils.asd lisp-cgi-utils-0.7/lisp-cgi-utils.asd
+--- lisp-cgi-utils-0.7.orig/lisp-cgi-utils.asd 2005-05-17 16:38:20.000000000 -0500
++++ lisp-cgi-utils-0.7/lisp-cgi-utils.asd 2005-08-05 10:28:55.000000000 -0500
+@@ -25,6 +25,7 @@
+ :long-description "THis package contains code to support writing CGI applications in Common lisp."
+
+ :components ((:file "http")
+- (:file "html")))
++ (:file "html"))
++ :depends-on (#:cl-plus))
+
+
diff --git a/dev-lisp/cl-cgi-utils/files/0.7-dont-print-during-make-gentoo.patch b/dev-lisp/cl-cgi-utils/files/0.7-dont-print-during-make-gentoo.patch
new file mode 100644
index 000000000000..9d930d1a4b46
--- /dev/null
+++ b/dev-lisp/cl-cgi-utils/files/0.7-dont-print-during-make-gentoo.patch
@@ -0,0 +1,22 @@
+diff -ur lisp-cgi-utils-0.7.orig/doc/Makefile lisp-cgi-utils-0.7/doc/Makefile
+--- lisp-cgi-utils-0.7.orig/doc/Makefile 2005-05-17 16:38:20.000000000 -0500
++++ lisp-cgi-utils-0.7/doc/Makefile 2005-08-05 10:16:39.000000000 -0500
+@@ -12,7 +12,7 @@
+ examples: examples.dvi examples.ps examples.pdf examples.html examples.txt
+
+ examples.ps: examples.dvi
+- dvips examples.dvi
++ dvips -o examples.ps examples.dvi
+
+ # LaTeX runs are usually done twice for crossreferences
+
+@@ -34,7 +34,7 @@
+ cookies: cookies.dvi cookies.ps cookies.pdf cookies.html cookies.txt
+
+ cookies.ps: cookies.dvi
+- dvips cookies.dvi
++ dvips -o cookies.ps cookies.dvi
+
+ # LaTeX runs are usually done twice for crossreferences
+
+Only in lisp-cgi-utils-0.7/doc: Makefile~
diff --git a/dev-lisp/cl-cgi-utils/files/digest-cl-cgi-utils-0.7 b/dev-lisp/cl-cgi-utils/files/digest-cl-cgi-utils-0.7
new file mode 100644
index 000000000000..7eb05338a226
--- /dev/null
+++ b/dev-lisp/cl-cgi-utils/files/digest-cl-cgi-utils-0.7
@@ -0,0 +1 @@
+MD5 18b9fc93cac86a8d8bd6c44299c2cd9f lisp-cgi-utils-0.7.tar.gz 29495
diff --git a/dev-lisp/cl-cgi-utils/metadata.xml b/dev-lisp/cl-cgi-utils/metadata.xml
new file mode 100644
index 000000000000..f418045b09c8
--- /dev/null
+++ b/dev-lisp/cl-cgi-utils/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>common-lisp</herd>
+</pkgmetadata>