From owner-svn-ports-head@freebsd.org Thu Jan 7 11:09:32 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 E89C2A66497; Thu, 7 Jan 2016 11:09:32 +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 B99281988; Thu, 7 Jan 2016 11:09:32 +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 u07B9V9L057546; Thu, 7 Jan 2016 11:09:31 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u07B9VDd057545; Thu, 7 Jan 2016 11:09:31 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201601071109.u07B9VDd057545@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:09:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405414 - head/textproc/py-rxp 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:09:33 -0000 Author: miwi Date: Thu Jan 7 11:09:31 2016 New Revision: 405414 URL: https://svnweb.freebsd.org/changeset/ports/405414 Log: - Convert to options helper - Add NO_ARCH Modified: head/textproc/py-rxp/Makefile Modified: head/textproc/py-rxp/Makefile ============================================================================== --- head/textproc/py-rxp/Makefile Thu Jan 7 11:09:06 2016 (r405413) +++ head/textproc/py-rxp/Makefile Thu Jan 7 11:09:31 2016 (r405414) @@ -12,9 +12,12 @@ DISTNAME= pyRXP-${PORTVERSION:S/./-/} MAINTAINER= ports@FreeBSD.org COMMENT= Fast validating XML parser for Python +OPTIONS_DEFINE= DOCS EXAMPLES + NO_WRKSUBDIR= yes USES= python tar:tgz USE_PYTHON= distutils autoplist +NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-rxp EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp @@ -23,8 +26,13 @@ PORTEXAMPLES= * post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyRXP.so - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include