1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Switch to USES=localbase

- Switch to new test framework
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-02-14 09:02:57 +00:00
parent e573b96993
commit 9a401f6ad5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461770
2 changed files with 3 additions and 8 deletions

View File

@ -15,13 +15,11 @@ COMMENT= Lightweight fully POSIX compliant regexp matching library
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= libtool pathfix pkgconfig tar:bzip2
USES= libtool localbase:ldflags pathfix pkgconfig tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
TEST_TARGET= check
OPTIONS_DEFINE= NLS OPTIMIZED_CFLAGS PGO DOCS
OPTIONS_SUB= yes
@ -51,9 +49,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
regression-test: build
@(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check )
.if ${PORT_OPTIONS:MPGO}
pgo: pgo-pre-build pgo-build pgo-run pgo-post-run pgo-clean

View File

@ -11,4 +11,4 @@ of the text. The used space is also quadratic on the length of the regex, but
does not depend on the searched string. This quadratic behaviour occurs only
on pathological cases which are probably very rare in practice.
WWW: http://laurikari.net/tre/
WWW: https://laurikari.net/tre/