summaryrefslogtreecommitdiffstats
path: root/devel/oniguruma5
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-02-04 09:39:50 +0000
committerknu <knu@FreeBSD.org>2003-02-04 09:39:50 +0000
commit15615499c4ea32931f64e636af3f9c0eb98efd09 (patch)
tree4db43a16e39c7099f5bba1964f116877e1e996fc /devel/oniguruma5
parent4e86309855cf0555e8e1ddd8193c1d5d28f9aa0c (diff)
downloadFreeBSD-ports-15615499c4ea32931f64e636af3f9c0eb98efd09.zip
FreeBSD-ports-15615499c4ea32931f64e636af3f9c0eb98efd09.tar.gz
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.
Diffstat (limited to 'devel/oniguruma5')
-rw-r--r--devel/oniguruma5/Makefile10
-rw-r--r--devel/oniguruma5/distinfo2
-rw-r--r--devel/oniguruma5/files/BSDmakefile2
-rw-r--r--devel/oniguruma5/pkg-plist1
4 files changed, 10 insertions, 5 deletions
diff --git a/devel/oniguruma5/Makefile b/devel/oniguruma5/Makefile
index 8d37fd5..74751a0 100644
--- a/devel/oniguruma5/Makefile
+++ b/devel/oniguruma5/Makefile
@@ -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>
diff --git a/devel/oniguruma5/distinfo b/devel/oniguruma5/distinfo
index aa8d9c6..c838536 100644
--- a/devel/oniguruma5/distinfo
+++ b/devel/oniguruma5/distinfo
@@ -1 +1 @@
-MD5 (ruby/onigd20030121.tar.gz) = 92ba124a64e0852e067f3aaeecf11f87
+MD5 (ruby/onigd20030204.tar.gz) = aec4bb39e1211dde6cdc4a920be99a45
diff --git a/devel/oniguruma5/files/BSDmakefile b/devel/oniguruma5/files/BSDmakefile
index 6d09167..4333301 100644
--- a/devel/oniguruma5/files/BSDmakefile
+++ b/devel/oniguruma5/files/BSDmakefile
@@ -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 \
diff --git a/devel/oniguruma5/pkg-plist b/devel/oniguruma5/pkg-plist
index 55e2976..a246218 100644
--- a/devel/oniguruma5/pkg-plist
+++ b/devel/oniguruma5/pkg-plist
@@ -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
OpenPOWER on IntegriCloud