freebsd-ports/security/py-python-registry/Makefile

46 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= python-registry
2016-04-02 17:47:52 +02:00
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
2016-04-02 17:47:52 +02:00
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
USE_GITHUB= yes
GH_ACCOUNT= williballenthin
2016-04-02 17:47:52 +02:00
NO_ARCH= yes
2014-08-30 13:30:34 +02:00
USES= python shebangfix
USE_PYTHON= distutils autoplist
SHEBANG_FILES= samples/*.py
python_OLD_CMD= .*
2013-07-30 21:03:06 +02:00
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= *
PORTEXAMPLES= *
2014-05-01 22:42:57 +02:00
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>=0:devel/py-enum34
2014-05-01 22:42:57 +02:00
.endif
2016-04-02 17:47:52 +02:00
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
2015-03-08 16:22:21 +01:00
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.TXT ${WRKSRC}/CONTRIBUTORS.TXT ${WRKSRC}/README.MD \
${WRKSRC}/documentation/* ${STAGEDIR}${DOCSDIR}
2016-04-02 17:47:52 +02:00
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR}
2014-05-01 22:42:57 +02:00
.include <bsd.port.post.mk>