From owner-svn-ports-all@freebsd.org Thu Jan 7 11:15:18 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 84A2CA66849; Thu, 7 Jan 2016 11:15:18 +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 52DBB1438; Thu, 7 Jan 2016 11:15:18 +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 u07BFHff061274; Thu, 7 Jan 2016 11:15:17 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u07BFHuk061273; Thu, 7 Jan 2016 11:15:17 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201601071115.u07BFHuk061273@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:15:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405423 - head/security/py-xmlsec 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: Thu, 07 Jan 2016 11:15:18 -0000 Author: miwi Date: Thu Jan 7 11:15:17 2016 New Revision: 405423 URL: https://svnweb.freebsd.org/changeset/ports/405423 Log: - Add options helper - Add NO_ARCH Modified: head/security/py-xmlsec/Makefile Modified: head/security/py-xmlsec/Makefile ============================================================================== --- head/security/py-xmlsec/Makefile Thu Jan 7 11:14:43 2016 (r405422) +++ head/security/py-xmlsec/Makefile Thu Jan 7 11:15:17 2016 (r405423) @@ -18,8 +18,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxmlsec1.so:${PORTSDIR}/security/xmlsec1 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 +OPTIONS_DEFINE= DOCS EXAMPLES + USES= python:2 USE_PYTHON= distutils autoplist +NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} @@ -28,8 +31,12 @@ PORTEXAMPLES= * post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/xmlsecmod.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/) + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)