# Created by: Antoine Brodin # $FreeBSD: head/devel/py-docopt/Makefile 366537 2014-08-29 17:28:42Z antoine $ PORTNAME= docopt PORTVERSION= 0.6.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Pythonic argument parser, that will make you smile LICENSE= MIT USES= python USE_PYTHON= distutils autoplist PORTDOCS= README.rst DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTEXAMPLES= * EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include