mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
4376dbbb58
FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight
47 lines
1.6 KiB
Makefile
47 lines
1.6 KiB
Makefile
# Created by: Julien Laffaye <jlaffaye@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pelican
|
|
PORTVERSION= 3.7.1
|
|
CATEGORIES= www textproc python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= jlaffaye@FreeBSD.org
|
|
COMMENT= Static site generator written in Python
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}feedgenerator>=1.6:www/py-feedgenerator@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}unidecode>0:converters/py-unidecode@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
USES= python shebangfix
|
|
USE_GITHUB= yes
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
SHEBANG_FILES= pelican/tools/templates/publishconf.py.in \
|
|
pelican/tools/*.py
|
|
|
|
GH_ACCOUNT= getpelican
|
|
|
|
OPTIONS_DEFINE= MARKDOWN SYNTAX
|
|
OPTIONS_DEFAULT= MARKDOWN SYNTAX
|
|
|
|
MARKDOWN_DESC= Markdown markup language format support
|
|
MARKDOWN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR}
|
|
|
|
SYNTAX_DESC= Syntax Highlighting (via pygments)
|
|
SYNTAX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.4:textproc/py-pygments@${PY_FLAVOR}
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|