2012-09-28 22:12:11 +02:00
|
|
|
# Created by: Chess Griffin <chess@chessgriffin.com>
|
2007-12-14 19:03:06 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gpodder
|
2016-12-29 18:54:35 +01:00
|
|
|
PORTVERSION= 3.9.3
|
2012-05-01 20:22:21 +02:00
|
|
|
CATEGORIES= multimedia python
|
|
|
|
MASTER_SITES= http://gpodder.org/src/
|
2007-12-14 19:03:06 +01:00
|
|
|
|
2011-11-10 23:20:18 +01:00
|
|
|
MAINTAINER= rm@FreeBSD.org
|
2012-05-01 20:22:21 +02:00
|
|
|
COMMENT= Media aggregator and podcast client
|
2007-12-14 19:03:06 +01:00
|
|
|
|
2011-07-14 15:18:39 +02:00
|
|
|
LICENSE= GPLv3
|
2014-10-08 12:40:59 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-07-14 15:18:39 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS= intltool-extract:textproc/intltool \
|
|
|
|
help2man:misc/help2man
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3 \
|
2016-10-28 22:33:14 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib \
|
2016-04-01 16:16:16 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}mygpoclient>=1.4:devel/py-mygpoclient \
|
2016-12-29 18:54:35 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}podcastparser>0:devel/py-podcastparser \
|
2016-04-01 16:16:16 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}eyed3>=0:audio/py-eyed3
|
2009-12-22 12:25:38 +01:00
|
|
|
|
2013-12-25 06:58:39 +01:00
|
|
|
OPTIONS_DEFINE= GTK2 NOTIFY MUTAGEN OGG2MP3
|
|
|
|
OPTIONS_DEFAULT= GTK2
|
2014-10-08 12:40:59 +02:00
|
|
|
OPTIONS_SUB= yes
|
2013-12-25 06:58:39 +01:00
|
|
|
MUTAGEN_DESC= Allow metadata manipulation
|
|
|
|
OGG2MP3_DESC= Ogg Vorbis conversion to MP3 support
|
|
|
|
OPTIONS_EXCLUDE= NLS
|
2016-04-01 16:16:16 +02:00
|
|
|
NOTIFY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify>=0:devel/py-notify
|
|
|
|
MUTAGEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>=0:audio/py-mutagen
|
|
|
|
OGG2MP3_RUN_DEPENDS= lame:audio/lame \
|
|
|
|
oggdec:audio/vorbis-tools
|
2007-12-14 19:03:06 +01:00
|
|
|
|
2012-05-01 20:22:21 +02:00
|
|
|
ALL_TARGET= messages
|
2012-05-30 20:18:59 +02:00
|
|
|
MAKE_ENV= GPODDER_MANPATH_NO_SHARE="yes"
|
2012-05-01 20:22:21 +02:00
|
|
|
MAKEFILE= makefile
|
2016-02-13 18:58:40 +01:00
|
|
|
NO_ARCH= yes
|
2016-10-28 22:33:14 +02:00
|
|
|
USES= gettext gmake python:-2.7 shebangfix
|
2013-12-25 06:58:39 +01:00
|
|
|
SHEBANG_FILES= src/gpodder/*.py share/gpodder/examples/*.py share/gpodder/extensions/*.py
|
2012-05-01 20:22:21 +02:00
|
|
|
WANT_GNOME= yes
|
2007-12-14 19:03:06 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2016-02-13 18:58:40 +01:00
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
2012-05-30 20:18:59 +02:00
|
|
|
PORTDOCS= PKG-INFO README
|
2007-12-14 19:03:06 +01:00
|
|
|
|
2016-02-13 18:58:40 +01:00
|
|
|
GTK2_VARS= MAKE_ENV+=GPODDER_INSTALL_UIS="cli gtk"
|
2016-04-01 16:16:16 +02:00
|
|
|
GTK2_RUN_DEPENDS+= gnome-icon-theme>=0:misc/gnome-icon-theme \
|
|
|
|
xdg-open:devel/xdg-utils
|
2016-02-13 18:58:40 +01:00
|
|
|
GTK2_USE= GNOME=pygtk2
|
2010-02-12 15:20:26 +01:00
|
|
|
|
2016-02-13 18:58:40 +01:00
|
|
|
.if empty(GTK2)
|
2012-05-30 20:18:59 +02:00
|
|
|
MAKE_ENV+= GPODDER_INSTALL_UIS="cli"
|
2007-12-14 19:03:06 +01:00
|
|
|
.endif
|
|
|
|
|
2015-02-23 11:26:57 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/makefile
|
|
|
|
|
2012-05-01 20:22:21 +02:00
|
|
|
post-install:
|
2013-12-25 06:58:39 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2007-12-14 19:03:06 +01:00
|
|
|
|
2012-05-01 20:22:21 +02:00
|
|
|
.include <bsd.port.mk>
|