openbsd-ports/net/gpodder/Makefile
sthen e575453b29 update to gpodder-3.10.1, from maintainer Tim Meunier (plus I reinstated
the compileall.py and associated PLIST changes which are still needed)
2018-02-20 03:44:32 +00:00

57 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2018/02/20 03:44:32 sthen Exp $
COMMENT= media aggregator and podcast client
MODPY_EGG_VERSION= 3.10.1
GH_ACCOUNT= gpodder
GH_PROJECT= gpodder
GH_TAGNAME= ${MODPY_EGG_VERSION}
CATEGORIES= net www
HOMEPAGE= https://gpodder.github.io/
MAINTAINER= Tim Meunier <trondd@kagu-tsuchi.com>
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/python \
textproc/intltool
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS= devel/desktop-file-utils \
devel/gettext \
devel/py-html5lib${MODPY_FLAVOR} \
devel/py-gobject3${MODPY_FLAVOR} \
net/mygpoclient \
textproc/py-podcastparser${MODPY_FLAVOR} \
www/webkitgtk4 \
x11/dbus-python${MODPY_FLAVOR} \
x11/gtk+3,-guic
TEST_DEPENDS= devel/py-minimock${MODPY_FLAVOR} \
devel/py-coverage${MODPY_FLAVOR} \
net/mygpoclient \
textproc/py-podcastparser${MODPY_FLAVOR}
USE_GMAKE= Yes
MAKE_FILE= makefile
MAKE_ENV= LC_CTYPE=en_US.UTF-8 \
PYTHON=${MODPY_BIN} \
GPODDER_MANPATH_NO_SHARE="yes"
ALL_TARGET= messages
TEST_TARGET= unittest
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} DESTDIR=/ ${MAKE_PROGRAM} \
-f ${MAKE_FILE} install
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
${PREFIX}/share/gpodder/extensions/
.include <bsd.port.mk>