Simple regular expression library from Plan 9; ok lebel@
This commit is contained in:
parent
700b443168
commit
304edd494c
23
devel/libregexp9/Makefile
Normal file
23
devel/libregexp9/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/02/16 14:59:42 markus Exp $
|
||||
|
||||
COMMENT= "Simple regular expression library from Plan 9"
|
||||
|
||||
VERSION= 2.0
|
||||
DISTNAME= libregexp9-${VERSION}
|
||||
CATEGORIES= devel plan9
|
||||
MASTER_SITES= http://pdos.lcs.mit.edu/~rsc/software/
|
||||
HOMEPAGE= http://pdos.lcs.mit.edu/~rsc/software/
|
||||
MAINTAINER= Markus Friedl <markus@openbsd.org>
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
LIB_DEPENDS= utf::devel/libutf \
|
||||
fmt::devel/libfmt
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/libregexp9/distinfo
Normal file
3
devel/libregexp9/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (libregexp9-2.0.tgz) = bcf91b15944f8aeba5d15fe9620bf897
|
||||
RMD160 (libregexp9-2.0.tgz) = 3fce6545f795072ecd050594109482d05fa98032
|
||||
SHA1 (libregexp9-2.0.tgz) = cde4e29d503e9433831a25efaea17b0361966fea
|
12
devel/libregexp9/patches/patch-Make_OpenBSD-386
Normal file
12
devel/libregexp9/patches/patch-Make_OpenBSD-386
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Make_OpenBSD-386,v 1.1.1.1 2003/02/16 14:59:42 markus Exp $
|
||||
--- Make.OpenBSD-386.orig Fri Feb 14 18:43:41 2003
|
||||
+++ Make.OpenBSD-386 Fri Feb 14 18:43:41 2003
|
||||
@@ -0,0 +1,8 @@
|
||||
+CC=gcc
|
||||
+CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I$(PREFIX)/include
|
||||
+O=o
|
||||
+AR=ar
|
||||
+ARFLAGS=rvc
|
||||
+NAN=nan64.$O # default, can be overriden by Make.$(SYSNAME)
|
||||
+NAN=nan64.$O
|
||||
+RANLIB=ranlib
|
10
devel/libregexp9/patches/patch-Makefile
Normal file
10
devel/libregexp9/patches/patch-Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
--- Makefile.orig Thu Feb 13 16:05:34 2003
|
||||
+++ Makefile Fri Feb 14 18:43:41 2003
|
||||
@@ -54,6 +54,7 @@ test2: test2.$O $(LIB)
|
||||
|
||||
$(LIB): $(OFILES)
|
||||
$(AR) $(ARFLAGS) $(LIB) $(OFILES)
|
||||
+ $(RANLIB) $(LIB)
|
||||
|
||||
NUKEFILES+=$(LIB)
|
||||
.c.$O:
|
14
devel/libregexp9/pkg/DESCR
Normal file
14
devel/libregexp9/pkg/DESCR
Normal file
@ -0,0 +1,14 @@
|
||||
Libregexp9 is a port of Plan 9's regexp library.
|
||||
It is small and simple and provides the traditional
|
||||
extended regular expressions (as opposed to the
|
||||
current extended regular expressions, which add {}
|
||||
and various \x character classes, among other
|
||||
complications).
|
||||
|
||||
It handles Unicode in wide character or UTF8 format!
|
||||
|
||||
WWW: http://pdos.lcs.mit.edu/~rsc/software/
|
||||
http://plan9.bell-labs.com/magic/man2html/2/regexp
|
||||
|
||||
Russ Cox
|
||||
rsc@post.harvard.edu
|
5
devel/libregexp9/pkg/PLIST
Normal file
5
devel/libregexp9/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/02/16 14:59:42 markus Exp $
|
||||
include/regexp9.h
|
||||
lib/libregexp9.a
|
||||
man/man3/regexp9.3
|
||||
man/man7/regexp9.7
|
Loading…
Reference in New Issue
Block a user