SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
36
devel/re2c/Makefile
Normal file
36
devel/re2c/Makefile
Normal file
|
@ -0,0 +1,36 @@
|
|||
COMMENT= C-based regular expression scanner generator
|
||||
|
||||
V= 3.1
|
||||
DISTNAME= re2c-$V
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= https://re2c.org/
|
||||
|
||||
# public domain
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += c m ${COMPILER_LIBCXX}
|
||||
|
||||
# C++11
|
||||
COMPILER= base-clang ports-gcc
|
||||
|
||||
MASTER_SITES= https://github.com/skvadrik/re2c/releases/download/$V/
|
||||
|
||||
TEST_DEPENDS= shells/bash
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} ${WRKSRC}/build-aux
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
# re2c will use bison if present at build time, but will otherwise fallback
|
||||
# to pregenerated files. because re2c is a depdendency of ninja, which is on
|
||||
# the path to building much of the tree, forcibly disable this rather than
|
||||
# listing the dependency.
|
||||
CONFIGURE_ENV= ac_cv_path_BISON=no
|
||||
|
||||
# don't force the dep for Python; seems only used to run docutils, not for
|
||||
# a normal build from the tarball
|
||||
CONFIGURE_ENV+= am_cv_pathless_PYTHON=python3
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/re2c/distinfo
Normal file
2
devel/re2c/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (re2c-3.1.tar.xz) = CsKZrTWeP1ErBqmTl9Alz/+B0740Rk3tBlb4qWZ2wCk=
|
||||
SIZE (re2c-3.1.tar.xz) = 1448624
|
6
devel/re2c/pkg/DESCR
Normal file
6
devel/re2c/pkg/DESCR
Normal file
|
@ -0,0 +1,6 @@
|
|||
re2c is a tool for writing very fast and very flexible scanners.
|
||||
re2c focuses on generating high efficient code for regular expression
|
||||
matching. As a result this allows a much broader range of use than
|
||||
any traditional lexer offers. And last but not least re2c generates
|
||||
warning free code that is equal to hand-written code in terms of
|
||||
size, speed and quality.
|
9
devel/re2c/pkg/PLIST
Normal file
9
devel/re2c/pkg/PLIST
Normal file
|
@ -0,0 +1,9 @@
|
|||
@bin bin/re2c
|
||||
@bin bin/re2go
|
||||
@bin bin/re2rust
|
||||
@man man/man1/re2c.1
|
||||
@man man/man1/re2go.1
|
||||
@man man/man1/re2rust.1
|
||||
share/re2c/
|
||||
share/re2c/stdlib/
|
||||
share/re2c/stdlib/unicode_categories.re
|
Loading…
Add table
Add a link
Reference in a new issue