# Created by: Antoine Brodin # $FreeBSD: head/security/py-python-registry/Makefile 412411 2016-04-02 15:47:52Z antoine $ PORTNAME= python-registry PORTVERSION= 1.2.0 CATEGORIES= security devel python MASTER_SITES= LOCAL/antoine PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Read access to Windows Registry files LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.TXT USE_GITHUB= yes GH_ACCOUNT= williballenthin NO_ARCH= yes USES= python shebangfix USE_PYTHON= distutils autoplist SHEBANG_FILES= samples/*.py python_OLD_CMD= .* OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * .include .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>=0:devel/py-enum34 .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.TXT ${WRKSRC}/CONTRIBUTORS.TXT ${WRKSRC}/README.MD \ ${WRKSRC}/documentation/* ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR} .include