2009-03-16 22:10:25 +00:00
|
|
|
# New ports collection makefile for: lottanzb
|
|
|
|
# Date created: Mon Feb 02 2009
|
|
|
|
# Whom: Zach Thompson <hideo@lastamericanempire.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lottanzb
|
2011-02-23 08:24:54 +00:00
|
|
|
PORTVERSION= 0.6
|
2011-02-24 02:47:33 +00:00
|
|
|
PORTREVISION= 1
|
2009-03-16 22:10:25 +00:00
|
|
|
CATEGORIES= news
|
2011-02-24 02:47:33 +00:00
|
|
|
MASTER_SITES= http://www.lottanzb.org/releases/ \
|
|
|
|
http://launchpadlibrarian.net/64247317/ \
|
|
|
|
http://www.c-s.li/ports/
|
2009-03-16 22:10:25 +00:00
|
|
|
|
2011-02-24 02:47:33 +00:00
|
|
|
MAINTAINER= c-s@c-s.li
|
2009-03-16 22:10:25 +00:00
|
|
|
COMMENT= A pyGTK usenet frontend for hellanzb
|
|
|
|
|
2011-02-24 02:47:33 +00:00
|
|
|
RUN_DEPENDS= SABnzbd.py:${PORTSDIR}/news/sabnzbdplus \
|
|
|
|
yelp:${PORTSDIR}/x11/yelp \
|
|
|
|
par2:${PORTSDIR}/archivers/par2cmdline \
|
2009-03-16 22:10:25 +00:00
|
|
|
unrar:${PORTSDIR}/archivers/unrar \
|
2011-02-24 02:47:33 +00:00
|
|
|
unzip:${PORTSDIR}/archivers/unzip \
|
|
|
|
${PYTHON_SITELIBDIR}/yenc.py:${PORTSDIR}/news/py-yenc \
|
|
|
|
${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser \
|
|
|
|
${PYTHON_SITELIBDIR}/OpenSSL/__init__.py:${PORTSDIR}/security/py-openssl
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
2009-03-16 22:10:25 +00:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
2009-09-23 14:02:02 +00:00
|
|
|
USE_GNOME= desktopfileutils intltool
|
2009-03-16 22:10:25 +00:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
INSTALLS_OMF= yes
|
|
|
|
|
2009-09-23 14:02:02 +00:00
|
|
|
PORTDOCS= README NEWS
|
|
|
|
|
2011-02-24 02:47:33 +00:00
|
|
|
MAN1= lottanzb.1
|
2009-09-23 14:02:02 +00:00
|
|
|
|
2009-03-16 22:10:25 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/try_to_call(\[".*$$//' ${WRKSRC}/setup.py
|
2009-09-23 14:02:02 +00:00
|
|
|
@${REINPLACE_CMD} -e 's/.share., \(.man.\)/\1/; s/^ *__stdfiles(attrs, src)//' \
|
|
|
|
${WRKSRC}/distutilsextra/auto.py
|
2009-03-16 22:10:25 +00:00
|
|
|
post-install:
|
|
|
|
-@update-desktop-database
|
|
|
|
-@update-mime-database ${PREFIX}/share/mime
|
2009-09-23 14:02:02 +00:00
|
|
|
-@gtk-update-icon-cache -q -f ${PREFIX}/share/icons/hicolor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2009-03-16 22:10:25 +00:00
|
|
|
|
2011-02-24 02:47:33 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2009-03-16 22:10:25 +00:00
|
|
|
.include <bsd.port.post.mk>
|