summaryrefslogtreecommitdiff
path: root/news/lottanzb/Makefile
blob: 2da70ad8bf82f666cbf1a220c85bec217b460611 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:	lottanzb
# Date created:		Mon Feb 02 2009
# Whom:			Zach Thompson <hideo@lastamericanempire.com>
#
# $FreeBSD$
# $Id$
#

PORTNAME=	lottanzb
PORTVERSION=	0.4.1
PORTREVISION=	1
CATEGORIES=	news
MASTER_SITES=	http://www.lottanzb.org/releases/

MAINTAINER=	hideo@lastamericanempire.com
COMMENT=	A pyGTK usenet frontend for hellanzb

BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/kiwi:${PORTSDIR}/x11-toolkits/py-kiwi
RUN_DEPENDS=	hellanzb.py:${PORTSDIR}/news/hellanzb \
		unrar:${PORTSDIR}/archivers/unrar \
		${PYTHON_SITELIBDIR}/kiwi:${PORTSDIR}/x11-toolkits/py-kiwi \
		scrollkeeper-uninstall:${PORTSDIR}/textproc/rarian

USE_PYTHON=	yes
USE_PYDISTUTILS=yes
USE_GNOME=	desktopfileutils
USE_GETTEXT=	yes
INSTALLS_ICONS=	yes
INSTALLS_OMF=	yes

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e 's/try_to_call(\[".*$$//' ${WRKSRC}/setup.py

post-install:
	-@update-desktop-database
	-@update-mime-database ${PREFIX}/share/mime

.include <bsd.port.post.mk>