mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Simplify Makefile: use PY_ENUM34
With hat: python
This commit is contained in:
parent
36be8b2b2c
commit
9415533407
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463082
@ -13,6 +13,8 @@ COMMENT= Read access to Windows Registry files
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
||||
|
||||
RUN_DEPENDS= ${PY_ENUM34}
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= williballenthin
|
||||
|
||||
@ -27,12 +29,6 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3400
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>=0:devel/py-enum34@${FLAVOR}
|
||||
.endif
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.TXT ${WRKSRC}/CONTRIBUTORS.TXT ${WRKSRC}/README.MD \
|
||||
@ -42,4 +38,4 @@ post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user