mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Convert new option framework
- Respect PORTDOCS - Update RUN_DEPENDS
This commit is contained in:
parent
4b40efa19e
commit
2a10efd6ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323231
@ -8,25 +8,29 @@ MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sbz@FreeBSD.org
|
||||
COMMENT= An RSS feed parser written in Python
|
||||
COMMENT= RSS feed parser written in Python
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_BZIP2= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS= NEWS PKG-INFO README
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
regression-test:
|
||||
@(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} ${PORTNAME}test.py)
|
||||
regression-test: extract
|
||||
@(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} ${PORTNAME}test.py)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user