From owner-svn-ports-head@freebsd.org Thu Jan 7 11:10:49 2016 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 3FBB4A665AE; Thu, 7 Jan 2016 11:10:49 +0000 (UTC) (envelope-from miwi@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 1335E1C6B; Thu, 7 Jan 2016 11:10:49 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u07BAmPq058523; Thu, 7 Jan 2016 11:10:48 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u07BAmXH058522; Thu, 7 Jan 2016 11:10:48 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201601071110.u07BAmXH058522@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Thu, 7 Jan 2016 11:10:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405417 - head/textproc/py-excelerator 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, 07 Jan 2016 11:10:49 -0000 Author: miwi Date: Thu Jan 7 11:10:48 2016 New Revision: 405417 URL: https://svnweb.freebsd.org/changeset/ports/405417 Log: - Convert to options helper - Add NO_ARCH Modified: head/textproc/py-excelerator/Makefile Modified: head/textproc/py-excelerator/Makefile ============================================================================== --- head/textproc/py-excelerator/Makefile Thu Jan 7 11:10:22 2016 (r405416) +++ head/textproc/py-excelerator/Makefile Thu Jan 7 11:10:48 2016 (r405417) @@ -12,17 +12,22 @@ DISTNAME= pyexcelerator-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python library for generating Excel 97/2000/XP/2003 files +OPTIONS_DEFINE= DOCS EXAMPLES + USES= python:2 zip USE_PYTHON= distutils autoplist +NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-excelerator EXAMPLESDIR= ${PREFIX}/share/examples/py-excelerator PORTDOCS= * PORTEXAMPLES= * -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.bmp ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}