# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD: branches/RELEASE_8_4_0/deskutils/dosage/Makefile 315013 2013-03-23 08:20:11Z culot $

PORTNAME=	dosage
PORTVERSION=	1.14
CATEGORIES=	deskutils python

MAINTAINER=	antoine@FreeBSD.org
COMMENT=	Application to keep a local mirror of web comics

LICENSE=	MIT

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests

USE_GITHUB=	yes
GH_ACCOUNT=	wummel
GH_TAGNAME=	upstream/${PORTVERSION}
GH_COMMIT=	179ba7f

USE_PYTHON=	yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=	Dosage

MAN1=		dosage.1

post-patch:
	@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/setup.py

.include <bsd.port.mk>
