From owner-svn-ports-head@freebsd.org Mon Jan 9 14:42:43 2017 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 6D411CA622E; Mon, 9 Jan 2017 14:42:43 +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 3F33F1653; Mon, 9 Jan 2017 14:42:43 +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 v09EggN1024372; Mon, 9 Jan 2017 14:42:42 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v09EggDj024371; Mon, 9 Jan 2017 14:42:42 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201701091442.v09EggDj024371@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 9 Jan 2017 14:42:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430963 - head/graphics/tumble 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.23 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: Mon, 09 Jan 2017 14:42:43 -0000 Author: sunpoet Date: Mon Jan 9 14:42:42 2017 New Revision: 430963 URL: https://svnweb.freebsd.org/changeset/ports/430963 Log: Add missing USES=jpeg - Add LICENSE_FILE - Use USES=localbase:ldflags - Convert to options target helper We do not bump PORTREVISION because jpeg dependency is already brought in via graphics/tiff. Modified: head/graphics/tumble/Makefile Modified: head/graphics/tumble/Makefile ============================================================================== --- head/graphics/tumble/Makefile Mon Jan 9 14:42:37 2017 (r430962) +++ head/graphics/tumble/Makefile Mon Jan 9 14:42:42 2017 (r430963) @@ -12,14 +12,12 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Creates a PDF file from image files LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff \ libnetpbm.so:graphics/netpbm -USES= bison gmake - -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +USES= bison gmake jpeg localbase:ldflags NOT_FOR_ARCHS= powerpc sparc64 NOT_FOR_ARCHS_REASON= Only works on little endian systems @@ -40,6 +38,8 @@ post-patch: do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} tumble \ ${STAGEDIR}${PREFIX}/bin) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} README \ ${STAGEDIR}${DOCSDIR})