From 9227ab842391dbe4043bd3aaf6c2a487d608ac8c Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 31 Jan 2003 13:03:50 +0000 Subject: Add devel/oniguruma. Oniguruma is a BSDL Regular Expression library written for ruby-m17n, which implements all of Perl extensions plus more. It has multiple APIs; GNU regex, POSIX regex and its own interface. This library is fundamentally multilingualized and can have one encoding for each object. Currently supported character encodings are ASCII, UTF-8, EUC-JP and Shift_JIS. Author: K.Kosako WWW: http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/oniguruma/ --- devel/oniguruma5/Makefile | 35 +++++++++++++++++++++++++++++++++++ devel/oniguruma5/distinfo | 1 + devel/oniguruma5/files/BSDmakefile | 19 +++++++++++++++++++ devel/oniguruma5/pkg-comment | 1 + devel/oniguruma5/pkg-descr | 10 ++++++++++ devel/oniguruma5/pkg-plist | 10 ++++++++++ 6 files changed, 76 insertions(+) create mode 100644 devel/oniguruma5/Makefile create mode 100644 devel/oniguruma5/distinfo create mode 100644 devel/oniguruma5/files/BSDmakefile create mode 100644 devel/oniguruma5/pkg-comment create mode 100644 devel/oniguruma5/pkg-descr create mode 100644 devel/oniguruma5/pkg-plist (limited to 'devel/oniguruma5') diff --git a/devel/oniguruma5/Makefile b/devel/oniguruma5/Makefile new file mode 100644 index 000000000000..8d37fd530b1c --- /dev/null +++ b/devel/oniguruma5/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: Oniguruma +# Date created: 31 January 2003 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= oniguruma +PORTVERSION= 1.6 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_RUBY} +MASTER_SITE_SUBDIR= contrib +DISTNAME= onigd20030121 +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +WRKSRC= ${WRKDIR}/${PORTNAME} +GNU_CONFIGURE= yes +MAKEFILE= BSDmakefile +MAKE_ARGS= NOPROFILE=true +INSTALLS_SHLIB= yes + +pre-build: + ${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}/ + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/ + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif + +.include diff --git a/devel/oniguruma5/distinfo b/devel/oniguruma5/distinfo new file mode 100644 index 000000000000..aa8d9c6fd003 --- /dev/null +++ b/devel/oniguruma5/distinfo @@ -0,0 +1 @@ +MD5 (ruby/onigd20030121.tar.gz) = 92ba124a64e0852e067f3aaeecf11f87 diff --git a/devel/oniguruma5/files/BSDmakefile b/devel/oniguruma5/files/BSDmakefile new file mode 100644 index 000000000000..6d09167981f1 --- /dev/null +++ b/devel/oniguruma5/files/BSDmakefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +LIB= onig +SHLIB_MAJOR?= 0 +SHLIB_MINOR?= 0 +CFLAGS+= -DHAVE_CONFIG_H +SRCS= regerror.o regcomp.o regexec.o reggnu.o \ + regposix.o regposerr.o +INCS= regex.h \ + onigposix.h +NOMAN= YES +LIBDIR= ${LOCALBASE}/lib +INCSDIR= ${LOCALBASE}/include/onig +INCDIR= ${INCSDIR} # for pre-bsd.incs.mk API + +beforeinstall: + mkdir -p ${INCSDIR} + +.include diff --git a/devel/oniguruma5/pkg-comment b/devel/oniguruma5/pkg-comment new file mode 100644 index 000000000000..7297ffe16b52 --- /dev/null +++ b/devel/oniguruma5/pkg-comment @@ -0,0 +1 @@ +A BSDL Regular Expressions library compatible with POSIX/GNU/Perl diff --git a/devel/oniguruma5/pkg-descr b/devel/oniguruma5/pkg-descr new file mode 100644 index 000000000000..5358c9ad9c38 --- /dev/null +++ b/devel/oniguruma5/pkg-descr @@ -0,0 +1,10 @@ +Oniguruma is a BSDL Regular Expression library written for ruby-m17n, +which implements all of Perl extensions plus more. It has multiple +APIs; GNU regex, POSIX regex and its own interface. + +This library is fundamentally multilingualized and can have one +encoding for each object. Currently supported character encodings +are ASCII, UTF-8, EUC-JP and Shift_JIS. + +Author: K.Kosako +WWW: http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/oniguruma/ diff --git a/devel/oniguruma5/pkg-plist b/devel/oniguruma5/pkg-plist new file mode 100644 index 000000000000..55e2976ae843 --- /dev/null +++ b/devel/oniguruma5/pkg-plist @@ -0,0 +1,10 @@ +include/onig/onigposix.h +include/onig/regex.h +@dirrm include/onig +lib/libonig.a +lib/libonig.so +lib/libonig.so.0 +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%EXAMPLESDIR%%/simple.c +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -- cgit v1.2.3