From owner-svn-ports-all@freebsd.org Sun Feb 7 11:43:27 2016 Return-Path: Delivered-To: svn-ports-all@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 7945CA9F17F; Sun, 7 Feb 2016 11:43:27 +0000 (UTC) (envelope-from amdmi3@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 4CA2119C5; Sun, 7 Feb 2016 11:43:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u17BhQVb041685; Sun, 7 Feb 2016 11:43:26 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u17BhQcu041684; Sun, 7 Feb 2016 11:43:26 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602071143.u17BhQcu041684@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 7 Feb 2016 11:43:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408375 - head/graphics/png2ico X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 11:43:27 -0000 Author: amdmi3 Date: Sun Feb 7 11:43:26 2016 New Revision: 408375 URL: https://svnweb.freebsd.org/changeset/ports/408375 Log: - Add LICENSE_FILE - Switch to options helpers Modified: head/graphics/png2ico/Makefile Modified: head/graphics/png2ico/Makefile ============================================================================== --- head/graphics/png2ico/Makefile Sun Feb 7 11:40:20 2016 (r408374) +++ head/graphics/png2ico/Makefile Sun Feb 7 11:43:26 2016 (r408375) @@ -11,7 +11,8 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION: MAINTAINER= ports@FreeBSD.org COMMENT= Converts PNG files to Windows icon resource files -LICENSE= GPLv2 +LICENSE= GPLv2 # only +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png @@ -23,6 +24,8 @@ LDFLAGS+= $$(libpng-config --ldflags) PORTDOCS= bmp.txt PLIST_FILES= bin/png2ico man/man1/png2ico.1.gz +OPTIONS_DEFINE= DOCS + do-build: (cd ${WRKSRC} && ${CXX} ${CXXFLAGS} ${CPPFLAGS} -o png2ico \ png2ico.cpp ${LDFLAGS}) @@ -30,6 +33,8 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/png2ico ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/doc/png2ico.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}