ajacoutot 46fd384b52 Change the "FLAVOR ?= python3" contruct to "FLAVOR = python3" since these are
python3 only ports.

"Yes please, it's not really optional so I think = is better." sthen@
2020-08-19 12:25:12 +00:00

40 lines
844 B
Makefile

# $OpenBSD: Makefile,v 1.10 2020/08/19 12:25:13 ajacoutot Exp $
COMMENT= simple, fast and efficient podcast parser
MODPY_EGG_VERSION= 0.6.5
DISTNAME= podcastparser-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= textproc
REVISION= 0
MAINTAINER= Tim Meunier <trondd@kagu-tsuchi.com>
# ISC
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_PI= Yes
BUILD_DEPENDS= textproc/py-sphinx${MODPY_FLAVOR}
TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR} \
devel/py-coverage${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>