From 887d8becdb90e34a5e3bfd13cb959782bc1b628f Mon Sep 17 00:00:00 2001 From: asau Date: Fri, 9 Jul 2010 18:59:48 +0000 Subject: Import CLISP PCRE module as devel/clisp-pcre. --- devel/clisp-pcre/DESCR | 1 + devel/clisp-pcre/Makefile | 22 ++++++++++++++++++++++ devel/clisp-pcre/PLIST | 9 +++++++++ devel/clisp-pcre/distinfo | 7 +++++++ devel/clisp-pcre/patches/patch-aa | 26 ++++++++++++++++++++++++++ devel/clisp-pcre/patches/patch-ab | 13 +++++++++++++ 6 files changed, 78 insertions(+) create mode 100644 devel/clisp-pcre/DESCR create mode 100644 devel/clisp-pcre/Makefile create mode 100644 devel/clisp-pcre/PLIST create mode 100644 devel/clisp-pcre/distinfo create mode 100644 devel/clisp-pcre/patches/patch-aa create mode 100644 devel/clisp-pcre/patches/patch-ab diff --git a/devel/clisp-pcre/DESCR b/devel/clisp-pcre/DESCR new file mode 100644 index 00000000000..98d06f44533 --- /dev/null +++ b/devel/clisp-pcre/DESCR @@ -0,0 +1 @@ +CLISP PCRE module diff --git a/devel/clisp-pcre/Makefile b/devel/clisp-pcre/Makefile new file mode 100644 index 00000000000..a3b9d380a43 --- /dev/null +++ b/devel/clisp-pcre/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/07/09 18:59:48 asau Exp $ +# + +CLISP_MODULE= pcre + +PKGNAME= clisp-$(CLISP_MODULE)-$(CLISP_VERSION) +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/} + +MAINTAINER= asau@inbox.ru +HOMEPAGE= http://clisp.cons.org/ +COMMENT= CLISP PCRE module + +PKG_DESTDIR_SUPPORT= user-destdir + +MAKE_JOBS_SAFE= no + + +.include "../../lang/clisp/module.mk" + +.include "../../devel/pcre/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/clisp-pcre/PLIST b/devel/clisp-pcre/PLIST new file mode 100644 index 00000000000..f05839ec6a2 --- /dev/null +++ b/devel/clisp-pcre/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/09 18:59:48 asau Exp $ +lib/clisp/dynmod/lib-pcre.so +lib/clisp/dynmod/pcre.lisp +lib/clisp/pcre/Makefile +lib/clisp/pcre/cpcre.o +lib/clisp/pcre/link.sh +lib/clisp/pcre/pcre.fas +lib/clisp/pcre/pcre.lisp +lib/clisp/pcre/preload.lisp diff --git a/devel/clisp-pcre/distinfo b/devel/clisp-pcre/distinfo new file mode 100644 index 00000000000..44c06117840 --- /dev/null +++ b/devel/clisp-pcre/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/07/09 18:59:48 asau Exp $ + +SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323 +RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76 +Size (clisp-2.49.tar.gz) = 9823111 bytes +SHA1 (patch-aa) = 034a646391db5bd8b554173cd19eb7b1e99e7ff9 +SHA1 (patch-ab) = e356cbfeafbd9798cea67806ae2366941ebdbce2 diff --git a/devel/clisp-pcre/patches/patch-aa b/devel/clisp-pcre/patches/patch-aa new file mode 100644 index 00000000000..0fd795e19c6 --- /dev/null +++ b/devel/clisp-pcre/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/07/09 18:59:48 asau Exp $ + +Override ac_install_sh. + +--- modules/pcre/configure.orig 2010-07-09 12:15:49.000000000 +0400 ++++ modules/pcre/configure 2010-07-09 12:16:27.000000000 +0400 +@@ -2285,19 +2285,6 @@ + required=true + ${required} && test $cl_cv_have_clisp = no && as_fn_error "CLISP not found" "$LINENO" 5 + +-ac_aux_dir= +-for ac_dir in $cl_cv_clisp_libdir/build-aux "$srcdir"/$cl_cv_clisp_libdir/build-aux; do +- for ac_t in install-sh install.sh shtool; do +- if test -f "$ac_dir/$ac_t"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/$ac_t -c" +- break 2 +- fi +- done +-done +-if test -z "$ac_aux_dir"; then +- as_fn_error "cannot find install-sh, install.sh, or shtool in $cl_cv_clisp_libdir/build-aux \"$srcdir\"/$cl_cv_clisp_libdir/build-aux" "$LINENO" 5 +-fi + + # These three variables are undocumented and unsupported, + # and are intended to be withdrawn in a future Autoconf release. diff --git a/devel/clisp-pcre/patches/patch-ab b/devel/clisp-pcre/patches/patch-ab new file mode 100644 index 00000000000..cd2d3cabd48 --- /dev/null +++ b/devel/clisp-pcre/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/07/09 18:59:48 asau Exp $ + +--- modules/pcre/Makefile.in.orig 2010-04-16 11:36:54.000000000 +0400 ++++ modules/pcre/Makefile.in 2010-07-09 12:17:58.000000000 +0400 +@@ -3,7 +3,7 @@ + srcdir = @srcdir@ + CC = @CC@ + PCRECPPFLAGS = @CPPFLAGS@ +-CFLAGS = @CFLAGS@ ++CFLAGS = @CLISP_CFLAGS@ + CLISP = @CLISP@ -norc -q + CLISP_LINKKIT = @CLISP_LINKKIT@ + -- cgit v1.2.3