diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-02-12 14:20:26 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-02-12 14:20:26 +0000 |
commit | 41bcba03812b4084c011f4bff5ce53e469255ab9 (patch) | |
tree | ac752cdeee0437fb48b73ce5eaabb6b5ccafbb23 /multimedia/gpodder/Makefile | |
parent | 7da056babfbbd5970325bc33f420b1b2c914c748 (diff) |
- Update to 2.2
PR: 143815
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=249675
Diffstat (limited to 'multimedia/gpodder/Makefile')
-rw-r--r-- | multimedia/gpodder/Makefile | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/multimedia/gpodder/Makefile b/multimedia/gpodder/Makefile index 83a803d155d8..cb803648c521 100644 --- a/multimedia/gpodder/Makefile +++ b/multimedia/gpodder/Makefile @@ -6,15 +6,18 @@ # PORTNAME= gpodder -PORTVERSION= 2.1 -PORTREVISION= 1 +PORTVERSION= 2.2 CATEGORIES= multimedia -MASTER_SITES= BERLIOS +MASTER_SITES= BERLIOS \ + http://thpinfo.com/2010/mygpoclient/:mygpoclient +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \ + ${MGC_DISTNAME}${EXTRACT_SUFX}:mygpoclient MAINTAINER= ports@FreeBSD.org COMMENT= A GTK2 podcast aggregrator written in Python RUN_DEPENDS= py*-pysqlite>=2.3:${PORTSDIR}/databases/py-pysqlite23 \ + py*-sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \ py*-dbus>=0:${PORTSDIR}/devel/py-dbus \ py*-notify>=0:${PORTSDIR}/devel/py-notify \ xdg-open:${PORTSDIR}/devel/xdg-utils \ @@ -32,11 +35,16 @@ OPTIONS= COVERART "Cover Art syncing support" off \ USE_PYTHON= yes USE_GNOME= pygtk2 USE_GETTEXT= yes +USE_GMAKE= yes +ALL_TARGET= messages INSTALLS_ICONS= yes INSTALLS_EGGINFO=yes MAN1= gpo.1 ${PORTNAME}.1 ${PORTNAME}-backup.1 +MGC_DISTNAME= mygpoclient-1.0 +MGC_WRKSRC= ${WRKDIR}/${MGC_DISTNAME}/mygpoclient + .include <bsd.port.pre.mk> .if defined(WITH_COVERART) @@ -70,8 +78,15 @@ RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer post-patch: @${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e 's|make -C|$$(MAKE) -C|' ${WRKSRC}/Makefile + +pre-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${MGC_WRKSRC} + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${MGC_WRKSRC} -post-install: +pre-install: + @${MKDIR} ${PYTHON_SITELIBDIR}/mygpoclient + @(cd ${MGC_WRKSRC} && ${COPYTREE_SHARE} . ${PYTHON_SITELIBDIR}/mygpoclient) .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in PKG-INFO README |