aboutsummaryrefslogtreecommitdiff
path: root/devel/oniguruma4
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-01-31 13:03:50 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-01-31 13:03:50 +0000
commit9227ab842391dbe4043bd3aaf6c2a487d608ac8c (patch)
treef22449e88d54f69c2b1261e6be7e30d0bf6ad9dc /devel/oniguruma4
parent1cb56f69b9aa747d03b041e25344685995557065 (diff)
downloadports-9227ab842391dbe4043bd3aaf6c2a487d608ac8c.tar.gz
ports-9227ab842391dbe4043bd3aaf6c2a487d608ac8c.zip
Notes
Diffstat (limited to 'devel/oniguruma4')
-rw-r--r--devel/oniguruma4/Makefile35
-rw-r--r--devel/oniguruma4/distinfo1
-rw-r--r--devel/oniguruma4/files/BSDmakefile19
-rw-r--r--devel/oniguruma4/pkg-comment1
-rw-r--r--devel/oniguruma4/pkg-descr10
-rw-r--r--devel/oniguruma4/pkg-plist10
6 files changed, 76 insertions, 0 deletions
diff --git a/devel/oniguruma4/Makefile b/devel/oniguruma4/Makefile
new file mode 100644
index 000000000000..8d37fd530b1c
--- /dev/null
+++ b/devel/oniguruma4/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: Oniguruma
+# Date created: 31 January 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $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 <bsd.port.mk>
diff --git a/devel/oniguruma4/distinfo b/devel/oniguruma4/distinfo
new file mode 100644
index 000000000000..aa8d9c6fd003
--- /dev/null
+++ b/devel/oniguruma4/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/onigd20030121.tar.gz) = 92ba124a64e0852e067f3aaeecf11f87
diff --git a/devel/oniguruma4/files/BSDmakefile b/devel/oniguruma4/files/BSDmakefile
new file mode 100644
index 000000000000..6d09167981f1
--- /dev/null
+++ b/devel/oniguruma4/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 <bsd.lib.mk>
diff --git a/devel/oniguruma4/pkg-comment b/devel/oniguruma4/pkg-comment
new file mode 100644
index 000000000000..7297ffe16b52
--- /dev/null
+++ b/devel/oniguruma4/pkg-comment
@@ -0,0 +1 @@
+A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
diff --git a/devel/oniguruma4/pkg-descr b/devel/oniguruma4/pkg-descr
new file mode 100644
index 000000000000..5358c9ad9c38
--- /dev/null
+++ b/devel/oniguruma4/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 <kosako@sofnec.co.jp>
+WWW: http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/oniguruma/
diff --git a/devel/oniguruma4/pkg-plist b/devel/oniguruma4/pkg-plist
new file mode 100644
index 000000000000..55e2976ae843
--- /dev/null
+++ b/devel/oniguruma4/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%%