mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Update to 1.7 (20030204), with improved performance.
According to the author's post on a mailing list, a simple benchmark shows that Oniguruma is 10-20% faster than PCRE 3.9 under the ASCII (single byte) encoding.
This commit is contained in:
parent
f0d4fe16f5
commit
f0631c9279
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74633
@ -6,11 +6,11 @@
|
||||
#
|
||||
|
||||
PORTNAME= oniguruma
|
||||
PORTVERSION= 1.6
|
||||
PORTVERSION= 1.7
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= contrib
|
||||
DISTNAME= onigd20030121
|
||||
DISTNAME= onigd20030204
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
@ -21,6 +21,8 @@ MAKEFILE= BSDmakefile
|
||||
MAKE_ARGS= NOPROFILE=true
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
DOCS= README doc/*
|
||||
|
||||
pre-build:
|
||||
${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}/
|
||||
|
||||
@ -29,7 +31,9 @@ post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ruby/onigd20030121.tar.gz) = 92ba124a64e0852e067f3aaeecf11f87
|
||||
MD5 (ruby/onigd20030204.tar.gz) = aec4bb39e1211dde6cdc4a920be99a45
|
||||
|
@ -3,7 +3,7 @@
|
||||
LIB= onig
|
||||
SHLIB_MAJOR?= 0
|
||||
SHLIB_MINOR?= 0
|
||||
CFLAGS+= -DHAVE_CONFIG_H
|
||||
CFLAGS+= -DHAVE_CONFIG_H -DNOT_RUBY
|
||||
SRCS= regerror.o regcomp.o regexec.o reggnu.o \
|
||||
regposix.o regposerr.o
|
||||
INCS= regex.h \
|
||||
|
@ -4,6 +4,7 @@ include/onig/regex.h
|
||||
lib/libonig.a
|
||||
lib/libonig.so
|
||||
lib/libonig.so.0
|
||||
%%PORTDOCS%%%%DOCSDIR%%/API
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/simple.c
|
||||
|
@ -6,11 +6,11 @@
|
||||
#
|
||||
|
||||
PORTNAME= oniguruma
|
||||
PORTVERSION= 1.6
|
||||
PORTVERSION= 1.7
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= contrib
|
||||
DISTNAME= onigd20030121
|
||||
DISTNAME= onigd20030204
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
@ -21,6 +21,8 @@ MAKEFILE= BSDmakefile
|
||||
MAKE_ARGS= NOPROFILE=true
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
DOCS= README doc/*
|
||||
|
||||
pre-build:
|
||||
${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}/
|
||||
|
||||
@ -29,7 +31,9 @@ post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ruby/onigd20030121.tar.gz) = 92ba124a64e0852e067f3aaeecf11f87
|
||||
MD5 (ruby/onigd20030204.tar.gz) = aec4bb39e1211dde6cdc4a920be99a45
|
||||
|
@ -3,7 +3,7 @@
|
||||
LIB= onig
|
||||
SHLIB_MAJOR?= 0
|
||||
SHLIB_MINOR?= 0
|
||||
CFLAGS+= -DHAVE_CONFIG_H
|
||||
CFLAGS+= -DHAVE_CONFIG_H -DNOT_RUBY
|
||||
SRCS= regerror.o regcomp.o regexec.o reggnu.o \
|
||||
regposix.o regposerr.o
|
||||
INCS= regex.h \
|
||||
|
@ -4,6 +4,7 @@ include/onig/regex.h
|
||||
lib/libonig.a
|
||||
lib/libonig.so
|
||||
lib/libonig.so.0
|
||||
%%PORTDOCS%%%%DOCSDIR%%/API
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/simple.c
|
||||
|
@ -6,11 +6,11 @@
|
||||
#
|
||||
|
||||
PORTNAME= oniguruma
|
||||
PORTVERSION= 1.6
|
||||
PORTVERSION= 1.7
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= contrib
|
||||
DISTNAME= onigd20030121
|
||||
DISTNAME= onigd20030204
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
@ -21,6 +21,8 @@ MAKEFILE= BSDmakefile
|
||||
MAKE_ARGS= NOPROFILE=true
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
DOCS= README doc/*
|
||||
|
||||
pre-build:
|
||||
${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}/
|
||||
|
||||
@ -29,7 +31,9 @@ post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ruby/onigd20030121.tar.gz) = 92ba124a64e0852e067f3aaeecf11f87
|
||||
MD5 (ruby/onigd20030204.tar.gz) = aec4bb39e1211dde6cdc4a920be99a45
|
||||
|
@ -3,7 +3,7 @@
|
||||
LIB= onig
|
||||
SHLIB_MAJOR?= 0
|
||||
SHLIB_MINOR?= 0
|
||||
CFLAGS+= -DHAVE_CONFIG_H
|
||||
CFLAGS+= -DHAVE_CONFIG_H -DNOT_RUBY
|
||||
SRCS= regerror.o regcomp.o regexec.o reggnu.o \
|
||||
regposix.o regposerr.o
|
||||
INCS= regex.h \
|
||||
|
@ -4,6 +4,7 @@ include/onig/regex.h
|
||||
lib/libonig.a
|
||||
lib/libonig.so
|
||||
lib/libonig.so.0
|
||||
%%PORTDOCS%%%%DOCSDIR%%/API
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/simple.c
|
||||
|
Loading…
Reference in New Issue
Block a user