From owner-svn-ports-head@freebsd.org Mon Apr 17 15:09:06 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 00DAAD41A4F; Mon, 17 Apr 2017 15:09:06 +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 C54C8152C; Mon, 17 Apr 2017 15:09:05 +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 v3HF94TS058405; Mon, 17 Apr 2017 15:09:04 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3HF94Ru058404; Mon, 17 Apr 2017 15:09:04 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201704171509.v3HF94Ru058404@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Mon, 17 Apr 2017 15:09:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438702 - head/devel/py-kid 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, 17 Apr 2017 15:09:06 -0000 Author: miwi Date: Mon Apr 17 15:09:04 2017 New Revision: 438702 URL: https://svnweb.freebsd.org/changeset/ports/438702 Log: - Switch to options helper - Added NO_ARCH - Fix shebangs Modified: head/devel/py-kid/Makefile Modified: head/devel/py-kid/Makefile ============================================================================== --- head/devel/py-kid/Makefile Mon Apr 17 15:07:31 2017 (r438701) +++ head/devel/py-kid/Makefile Mon Apr 17 15:09:04 2017 (r438702) @@ -3,7 +3,7 @@ PORTNAME= kid PORTVERSION= 0.9.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= http://www.kid-templating.org/dist/${PORTVERSION}/ \ http://nivi.interfree.it/distfiles/${PORTNAME}/ @@ -12,15 +12,19 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Simple template language for XML based written in Python -USES= python +USES= python shebangfix USE_PYTHON= distutils autoplist +SHEBANG_FILES= misc/upgrade-0.6.py +OPTIONS_DEFINE= DOCS + +NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTDOCS= * PORTEXAMPLES= * -post-install: +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} ; ${CP} README HISTORY COPYING misc/* ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}