mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
updated
This commit is contained in:
22
text/libonig/Makefile
Normal file
22
text/libonig/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
PORTNAME= onig
|
||||
DISTNAME= oniguruma
|
||||
DISTVERSION= 6.9.10
|
||||
CATEGORIES= devel textproc
|
||||
MASTER_SITES= https://github.com/kkos/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||
DISTNAME= onig-${DISTVERSION}
|
||||
PKGNAMEPREFIX= lib
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Regular expressions library compatible with POSIX/GNU/Perl
|
||||
WWW= https://github.com/kkos/oniguruma
|
||||
|
||||
USES= gmake pathfix
|
||||
CPE_VENDOR= oniguruma_project
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-posix-api --enable-shared
|
||||
|
||||
CMAKE_OFF= BUILD_TEST
|
||||
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON -DENABLE_POSIX_API=ON -DBUILD_TEST=OFF
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
text/libonig/distinfo
Normal file
3
text/libonig/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1735755989
|
||||
SHA256 (onig-6.9.10.tar.gz) = 2a5cfc5ae259e4e97f86b68dfffc152cdaffe94e2060b770cb827238d769fc05
|
||||
SIZE (onig-6.9.10.tar.gz) = 979159
|
||||
41
text/libonig/files/patch-x-ltmain.sh
Normal file
41
text/libonig/files/patch-x-ltmain.sh
Normal file
@@ -0,0 +1,41 @@
|
||||
--- ./ltmain.sh.orig 2024-11-20 22:08:44.000000000 +0200
|
||||
+++ ./ltmain.sh 2025-08-27 17:38:11.866569000 +0200
|
||||
@@ -9281,15 +9281,15 @@
|
||||
#
|
||||
case $version_type in
|
||||
# correct linux to gnu/linux during the next big refactor
|
||||
- darwin|freebsd-elf|linux|midnightbsd-elf|osf|qnx|windows|none)
|
||||
+ darwin|linux|midnightbsd-elf|osf|qnx|windows|none)
|
||||
func_arith $number_major + $number_minor
|
||||
current=$func_arith_result
|
||||
age=$number_minor
|
||||
revision=$number_revision
|
||||
;;
|
||||
- freebsd-aout|sco|sunos)
|
||||
+ freebsd*|sco|sunos)
|
||||
current=$number_major
|
||||
- revision=$number_minor
|
||||
+ revision=$number_major
|
||||
age=0
|
||||
;;
|
||||
irix|nonstopux)
|
||||
@@ -9370,17 +9370,10 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- freebsd-aout)
|
||||
+ freebsd*)
|
||||
major=.$current
|
||||
- versuffix=.$current.$revision
|
||||
+ versuffix=.$current
|
||||
;;
|
||||
-
|
||||
- freebsd-elf | midnightbsd-elf)
|
||||
- func_arith $current - $age
|
||||
- major=.$func_arith_result
|
||||
- versuffix=$major.$age.$revision
|
||||
- ;;
|
||||
-
|
||||
irix | nonstopux)
|
||||
if test no = "$lt_irix_increment"; then
|
||||
func_arith $current - $age
|
||||
16
text/libonig/pkg-descr
Normal file
16
text/libonig/pkg-descr
Normal file
@@ -0,0 +1,16 @@
|
||||
Oniguruma is a modern and flexible regular expressions library. It
|
||||
encompasses features from different regular expression implementations
|
||||
that traditionally exist in different languages. It comes close to
|
||||
being a complete superset of all regular expression features found
|
||||
in other regular expression implementations.
|
||||
|
||||
Its features include:
|
||||
* Character encoding can be specified per regular expression object.
|
||||
* Several regular expression types are supported:
|
||||
* POSIX
|
||||
* Grep
|
||||
* GNU Regex
|
||||
* Perl
|
||||
* Java
|
||||
* Ruby
|
||||
* Emacs
|
||||
9
text/libonig/pkg-plist
Normal file
9
text/libonig/pkg-plist
Normal file
@@ -0,0 +1,9 @@
|
||||
bin/onig-config
|
||||
include/oniggnu.h
|
||||
include/onigposix.h
|
||||
include/oniguruma.h
|
||||
lib/libonig.a
|
||||
lib/libonig.la
|
||||
lib/libonig.so
|
||||
lib/libonig.so.10
|
||||
lib/pkgconfig/oniguruma.pc
|
||||
Reference in New Issue
Block a user