Date: Thu, 31 Mar 2016 18:45:15 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412284 - head/devel/py-optik Message-ID: <201603311845.u2VIjFt7001754@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603311845.u2VIjFt7001754>