From owner-svn-ports-all@freebsd.org Thu Mar 31 18:45:16 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 EE8C8AE4269; Thu, 31 Mar 2016 18:45:16 +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 BFBE81682; Thu, 31 Mar 2016 18:45:16 +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 u2VIjF5q001755; Thu, 31 Mar 2016 18:45:15 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2VIjFt7001754; Thu, 31 Mar 2016 18:45:15 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201603311845.u2VIjFt7001754@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 31 Mar 2016 18:45:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412284 - head/devel/py-optik 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.21 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: Thu, 31 Mar 2016 18:45:17 -0000 Author: amdmi3 Date: Thu Mar 31 18:45:15 2016 New Revision: 412284 URL: https://svnweb.freebsd.org/changeset/ports/412284 Log: - Add LICENSE - Add NO_ARCH - Switch to options helpers Modified: head/devel/py-optik/Makefile Modified: head/devel/py-optik/Makefile ============================================================================== --- head/devel/py-optik/Makefile Thu Mar 31 18:39:28 2016 (r412283) +++ head/devel/py-optik/Makefile Thu Mar 31 18:45:15 2016 (r412284) @@ -10,18 +10,25 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Command-line parsing library for Python +LICENSE= BSD3CLAUSE + USES= python USE_PYTHON= distutils autoplist +NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * PORTEXAMPLES= * -post-install: +OPTIONS_DEFINE= DOCS EXAMPLES + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/test ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${DOCSDIR}/test + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}