From 9a401f6ad58faad0ed5709c8fff1732ab599bb58 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 14 Feb 2018 09:02:57 +0000 Subject: [PATCH] - Switch to USES=localbase - Switch to new test framework - Update WWW Approved by: portmgr blanket --- textproc/libtre/Makefile | 9 ++------- textproc/libtre/pkg-descr | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/textproc/libtre/Makefile b/textproc/libtre/Makefile index 540a7cae6ee5..f1d3b43bef86 100644 --- a/textproc/libtre/Makefile +++ b/textproc/libtre/Makefile @@ -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 diff --git a/textproc/libtre/pkg-descr b/textproc/libtre/pkg-descr index 19f483060dd0..73609f1bad60 100644 --- a/textproc/libtre/pkg-descr +++ b/textproc/libtre/pkg-descr @@ -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/