summaryrefslogtreecommitdiff
path: root/devel/rx
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-01-17 03:44:27 +0000
committerjlam <jlam@pkgsrc.org>2000-01-17 03:44:27 +0000
commitfbe120b3580d01cb9ee415b356e6f4cdcbc58ef1 (patch)
treee8044dc2cb95982f355a567baaf047a583844e63 /devel/rx
parent2869c7e36693da6a695d1e8f0948d29dd3461bb0 (diff)
downloadpkgsrc-fbe120b3580d01cb9ee415b356e6f4cdcbc58ef1.tar.gz
rx 1.5 - Fast replacement for the GNU regexp library
Diffstat (limited to 'devel/rx')
-rw-r--r--devel/rx/Makefile28
-rw-r--r--devel/rx/files/md53
-rw-r--r--devel/rx/files/patch-sum4
-rw-r--r--devel/rx/patches/patch-aa16
-rw-r--r--devel/rx/patches/patch-ab49
-rw-r--r--devel/rx/pkg/COMMENT1
-rw-r--r--devel/rx/pkg/DESCR2
-rw-r--r--devel/rx/pkg/PLIST7
8 files changed, 110 insertions, 0 deletions
diff --git a/devel/rx/Makefile b/devel/rx/Makefile
new file mode 100644
index 00000000000..00b4d008382
--- /dev/null
+++ b/devel/rx/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/01/17 03:44:27 jlam Exp $
+
+DISTNAME= rx-1.5
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU:=rx/}
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.gnu.org/software/rx/rx.html
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+INFO_FILES= rx.info
+
+# When the API changes and breaks binary-compatibility with the previous
+# version, increment the MAJOR by 1 and reset the MINOR to 0. Otherwise,
+# bump the MINOR when a new version comes out.
+#
+RX_MAJOR= 0
+RX_MINOR= 0
+MAKE_ENV+= RX_MAJOR="${RX_MAJOR}" RX_MINOR="${RX_MINOR}"
+
+ALL_TARGET= all info
+
+post-install:
+ cd ${WRKSRC}/doc; ${INSTALL_DATA} ${INFO_FILES} ${PREFIX}/info
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/rx/files/md5 b/devel/rx/files/md5
new file mode 100644
index 00000000000..963194df639
--- /dev/null
+++ b/devel/rx/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/01/17 03:44:27 jlam Exp $
+
+MD5 (rx-1.5.tar.gz) = e44e5f6ff9fd8ca9d46bda42bcacee5e
diff --git a/devel/rx/files/patch-sum b/devel/rx/files/patch-sum
new file mode 100644
index 00000000000..b9646791426
--- /dev/null
+++ b/devel/rx/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/01/17 03:44:27 jlam Exp $
+
+MD5 (patch-aa) = e7cde4073c1248b61382a1f19bbfb636
+MD5 (patch-ab) = 5069f25e5faede55e3df0bfb5f9609d8
diff --git a/devel/rx/patches/patch-aa b/devel/rx/patches/patch-aa
new file mode 100644
index 00000000000..30dd695517f
--- /dev/null
+++ b/devel/rx/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/01/17 03:44:27 jlam Exp $
+
+--- doc/rx.info.orig Wed Jan 15 15:31:40 1997
++++ doc/rx.info Sun Jan 16 22:12:18 2000
+@@ -1,6 +1,11 @@
+ This is Info file rx.info, produced by Makeinfo-1.63 from the input
+ file rx.texi.
+
++INFO-DIR-SECTION Libraries
++START-INFO-DIR-ENTRY
++* rx: (rx) GNU POSIX regular expressions API
++END-INFO-DIR-ENTRY
++
+ 
+ File: rx.info, Node: Top, Next: Copying, Prev: (dir), Up: (dir)
+
diff --git a/devel/rx/patches/patch-ab b/devel/rx/patches/patch-ab
new file mode 100644
index 00000000000..9f2525e1729
--- /dev/null
+++ b/devel/rx/patches/patch-ab
@@ -0,0 +1,49 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/01/17 03:44:28 jlam Exp $
+
+--- rx/Makefile.in.orig Fri Nov 22 07:47:49 1996
++++ rx/Makefile.in Sun Jan 16 22:11:05 2000
+@@ -59,24 +59,23 @@
+ $(CC) $(ALL_CFLAGS) -DSCM_MAGIC_SNARFER -E $< | grep "^%%%" | sed -e "s/^%%%//" > $@ ; \
+
+ .c.o:
+- $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $<
++ $(LIBTOOL) $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $<
+
+-all: librx.a
++all: librx.la
+
+ install: all
+ test -d $(libdir) || mkdir $(libdir)
+ test -d $(includedir) || mkdir $(includedir)
+- $(INSTALL) librx.a $(libdir)/librx.a
+- $(RANLIB) $(libdir)/librx.a
++ $(LIBTOOL) $(INSTALL) librx.la $(libdir)
+ $(INSTALL) $(srcdir)/inst-rxposix.h $(includedir)/rxposix.h
+
+
+ uninstall:
+- -rm -f $(libdir)/librx.a
++ -$(LIBTOOL) rm -f $(libdir)/librx.la
+ -rm -f $(includedir)/rxposix.h
+
+ clean:
+- -rm -f $(libobjs) librx.a $(opt_objs)
++ -$(LIBTOOL) rm -f $(libobjs) librx.a $(opt_objs)
+
+ distclean: clean
+ -rm Makefile config.status config.log rgx.x
+@@ -111,10 +110,10 @@
+ rm -rf `cat .fname` .fname
+
+
+-librx.a: $(libobjs) $(opt_objs)
+- rm -f librx.a
+- $(AR) $(AR_FLAGS) librx.a $(libobjs) $(opt_objs)
+- $(RANLIB) librx.a
++librx.la: $(libobjs) $(opt_objs)
++ $(LIBTOOL) rm -f librx.la
++ $(LIBTOOL) $(CC) -o $@ $(libobjs:.o=.lo) $(opt_objs:.o=.lo) \
++ -rpath $(libdir) -version-info $(RX_MAJOR):$(RX_MINOR)
+
+
+ depends:
diff --git a/devel/rx/pkg/COMMENT b/devel/rx/pkg/COMMENT
new file mode 100644
index 00000000000..6c86bff9fdc
--- /dev/null
+++ b/devel/rx/pkg/COMMENT
@@ -0,0 +1 @@
+Fast replacement for the GNU regex library
diff --git a/devel/rx/pkg/DESCR b/devel/rx/pkg/DESCR
new file mode 100644
index 00000000000..4535f26d742
--- /dev/null
+++ b/devel/rx/pkg/DESCR
@@ -0,0 +1,2 @@
+Rx is, among other things, an implementation of the interface
+specified by POSIX for programming with regular expressions.
diff --git a/devel/rx/pkg/PLIST b/devel/rx/pkg/PLIST
new file mode 100644
index 00000000000..cebd427bc99
--- /dev/null
+++ b/devel/rx/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/17 03:44:27 jlam Exp $
+include/rxposix.h
+@unexec install-info --delete %D/info/rx.info %D/info/dir
+info/rx.info
+@exec install-info %D/info/rx.info %D/info/dir
+lib/librx.a
+lib/librx.so.0.0