40 lines
802 B
Makefile
40 lines
802 B
Makefile
COMMENT= simple, fast and efficient podcast parser
|
|
|
|
MODPY_EGG_VERSION= 0.6.8
|
|
DISTNAME= podcastparser-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-${DISTNAME}
|
|
CATEGORIES= textproc
|
|
REVISION= 1
|
|
|
|
MAINTAINER= Tim Meunier <trondd@kagu-tsuchi.com>
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_PI= Yes
|
|
|
|
MODPY_PYTEST= Yes
|
|
|
|
BUILD_DEPENDS= textproc/py-sphinx${MODPY_FLAVOR}
|
|
|
|
TEST_DEPENDS= devel/py-coverage${MODPY_FLAVOR} \
|
|
devel/py-test-cov${MODPY_FLAVOR}
|
|
|
|
FLAVORS= python3
|
|
FLAVOR= python3
|
|
|
|
MAKE_FILE= makefile
|
|
MAKE_ENV= PYTHON=${MODPY_BIN}
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/doc && ${MAKE_ENV} ${MAKE_PROGRAM} man \
|
|
SPHINXBUILD=sphinx-build${MODPY_BIN_SUFFIX}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/_build/man/podcastparser.1 \
|
|
${PREFIX}/man/man1/podcastparser${MODPY_BIN_SUFFIX}.1
|
|
|
|
.include <bsd.port.mk>
|