svn commit: r501567 - head/graphics/leptonica
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon May 13 14:26:21 UTC 2019
Author: amdmi3
Date: Mon May 13 14:26:19 2019
New Revision: 501567
URL: https://svnweb.freebsd.org/changeset/ports/501567
Log:
- Add LICENSE
- Switch to USES=localbase
- Switch to new test framework
Approved by: portmgr blanket
Modified:
head/graphics/leptonica/Makefile
Modified: head/graphics/leptonica/Makefile
==============================================================================
--- head/graphics/leptonica/Makefile Mon May 13 14:12:27 2019 (r501566)
+++ head/graphics/leptonica/Makefile Mon May 13 14:26:19 2019 (r501567)
@@ -9,19 +9,18 @@ CATEGORIES= graphics
MAINTAINER= hiroto.kagotani at gmail.com
COMMENT= C library for efficient image processing and image analysis operations
-LICENSE_FILE= leptonica-license.txt
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/leptonica-license.txt
CONFLICTS= leptonlib-[0-9]*
-USES= autoreconf libtool pathfix pkgconfig
+USES= autoreconf libtool localbase:ldflags pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= DanBloomberg
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= BIN GIF JPEG JPEG2000 PNG TIFF WEBP ZLIB
@@ -54,7 +53,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/gnuplot:math/gnuplot
TESTS+= display
.endif
-check regression-test test: build
+do-test:
.for c in ${TESTS}
@cd ${WRKSRC}/prog; ${SETENV} \
LD_LIBRARY_PATH="${WRKSRC}/src/.libs:${LOCALBASE}/lib" \
More information about the svn-ports-all
mailing list