aboutsummaryrefslogtreecommitdiff
path: root/textproc/libtre
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-02-14 09:02:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-02-14 09:02:57 +0000
commit9a401f6ad58faad0ed5709c8fff1732ab599bb58 (patch)
tree5c766b5a0c4dc67bfc12ce34cf8b01d11ea56f1a /textproc/libtre
parente573b96993be981cef9aa133bc3f621e64faa69e (diff)
downloadports-9a401f6ad58faad0ed5709c8fff1732ab599bb58.tar.gz
ports-9a401f6ad58faad0ed5709c8fff1732ab599bb58.zip
- Switch to USES=localbase
- Switch to new test framework - Update WWW Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=461770
Diffstat (limited to 'textproc/libtre')
-rw-r--r--textproc/libtre/Makefile9
-rw-r--r--textproc/libtre/pkg-descr2
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/