Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2019 14:26:20 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501567 - head/graphics/leptonica
Message-ID:  <201905131426.x4DEQKrd013690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905131426.x4DEQKrd013690>