From owner-svn-ports-head@freebsd.org Thu Oct 15 20:16:17 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FF54A15D07; Thu, 15 Oct 2015 20:16:17 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1A0D190B; Thu, 15 Oct 2015 20:16:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9FKGF6d023489; Thu, 15 Oct 2015 20:16:15 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9FKGFvh023488; Thu, 15 Oct 2015 20:16:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201510152016.t9FKGFvh023488@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 15 Oct 2015 20:16:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399365 - head/graphics/lcms X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2015 20:16:17 -0000 Author: sunpoet Date: Thu Oct 15 20:16:15 2015 New Revision: 399365 URL: https://svnweb.freebsd.org/changeset/ports/399365 Log: - Add LICENSE_FILE - Use USES=localbase - Convert to new options target helper Modified: head/graphics/lcms/Makefile Modified: head/graphics/lcms/Makefile ============================================================================== --- head/graphics/lcms/Makefile Thu Oct 15 20:16:10 2015 (r399364) +++ head/graphics/lcms/Makefile Thu Oct 15 20:16:15 2015 (r399365) @@ -13,6 +13,7 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Light Color Management System -- a color management library LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= DOCS JPEGICC TIFFICC OPTIONS_DEFAULT=JPEGICC TIFFICC @@ -20,21 +21,17 @@ OPTIONS_SUB= yes JPEGICC_DESC= Build color profile applier for JPEG TIFFICC_DESC= Build color profile applier for TIFF -CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -LDFLAGS+= -L${LOCALBASE}/lib TEST_TARGET= check USE_LDCONFIG= yes -USES= libtool pathfix +USES= libtool localbase pathfix PORTDOCS= * -JPEGICC_CONFIGURE_OFF= --without-jpeg -JPEGICC_CONFIGURE_ON= --with-jpeg=${LOCALBASE} +JPEGICC_CONFIGURE_WITH= jpeg JPEGICC_USES= jpeg -TIFFICC_CONFIGURE_OFF= --without-tiff -TIFFICC_CONFIGURE_ON= --with-tiff=${LOCALBASE} +TIFFICC_CONFIGURE_WITH= tiff TIFFICC_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff post-patch: @@ -42,7 +39,7 @@ post-patch: @${REINPLACE_CMD} -e '/^#ifdef __sgi/ s|__sgi|__unix__|; /^#include "sgidefs.h"/d' ${WRKSRC}/include/icc34.h.in @${REINPLACE_CMD} -e '/^testcms_LDFLAGS = / s|$$| -static|' ${WRKSRC}/testbed/Makefile.in -post-install: +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} doc/LCMSAPI.TXT doc/TUTORIAL.TXT tifficc/tifficc.c \ jpegicc/jpegicc.c jpegicc/iccjpeg.c samples/wtpt.c samples/icctrans.c ${STAGEDIR}${DOCSDIR}/