2019-08-02 15:15:24 +00:00
|
|
|
COMMENT= C-based regular expression scanner generator
|
2007-05-16 14:10:57 +00:00
|
|
|
|
2021-09-02 21:23:38 +00:00
|
|
|
V= 2.2
|
2019-08-02 15:15:24 +00:00
|
|
|
DISTNAME= re2c-$V
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
CATEGORIES= devel
|
2020-02-15 23:05:04 +00:00
|
|
|
|
|
|
|
HOMEPAGE= https://re2c.org/
|
2007-05-16 14:10:57 +00:00
|
|
|
|
|
|
|
# public domain
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2007-05-16 14:10:57 +00:00
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB += c m ${COMPILER_LIBCXX}
|
2007-05-16 14:10:57 +00:00
|
|
|
|
2019-08-02 15:15:24 +00:00
|
|
|
COMPILER= base-clang ports-gcc base-gcc
|
2018-10-24 14:27:57 +00:00
|
|
|
|
2019-08-02 15:15:24 +00:00
|
|
|
MASTER_SITES= https://github.com/skvadrik/re2c/releases/download/$V/
|
2015-12-04 14:40:56 +00:00
|
|
|
|
2019-08-02 15:15:24 +00:00
|
|
|
TEST_DEPENDS= shells/bash
|
2007-05-16 14:10:57 +00:00
|
|
|
|
2019-08-02 15:15:24 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-05-16 14:10:57 +00:00
|
|
|
|
2020-02-15 23:05:04 +00:00
|
|
|
# re2c will use bison if present at build time, but will otherwise fallback
|
2020-02-16 14:44:18 +00:00
|
|
|
# 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.
|
2020-02-15 23:05:04 +00:00
|
|
|
CONFIGURE_ENV= ac_cv_path_BISON=no
|
|
|
|
|
2007-05-16 14:10:57 +00:00
|
|
|
.include <bsd.port.mk>
|