Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= feedparser |
4 |
PORTNAME= feedparser |
5 |
PORTVERSION= 5.2.1 |
5 |
PORTVERSION= 6.0.1 |
6 |
CATEGORIES= textproc python |
6 |
CATEGORIES= textproc python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 10-19
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Link Here
|
10 |
MAINTAINER= sbz@FreeBSD.org |
10 |
MAINTAINER= sbz@FreeBSD.org |
11 |
COMMENT= Universal feed parser written in Python |
11 |
COMMENT= Universal feed parser written in Python |
12 |
|
12 |
|
13 |
LICENSE= BSD2CLAUSE |
13 |
LICENSE= BSD2CLAUSE PSFL |
|
|
14 |
LICENSE_COMB= multi |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
16 |
|
16 |
USES= python tar:bzip2 |
17 |
USES= python:3.6+ |
17 |
USE_PYTHON= distutils autoplist |
18 |
USE_PYTHON= distutils autoplist |
18 |
|
19 |
|
19 |
NO_ARCH= yes |
20 |
NO_ARCH= yes |
Lines 22-27
OPTIONS_DEFINE= DOCS
Link Here
|
22 |
|
23 |
|
23 |
PORTDOCS= NEWS README.rst |
24 |
PORTDOCS= NEWS README.rst |
24 |
|
25 |
|
|
|
26 |
PLIST_FILES+= ${PYTHON_SITELIBDIR}/sgmllib.py |
27 |
|
28 |
post-install: |
29 |
${INSTALL_DATA} ${FILESDIR}/sgmllib.py ${STAGEDIR}/${PYTHON_SITELIBDIR}/sgmllib.py |
30 |
|
25 |
post-install-DOCS-on: |
31 |
post-install-DOCS-on: |
26 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
32 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
27 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} |
33 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} |