aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-mcomix/Makefile
blob: 07a362aa659dc4acc1abc862b3806470b2eaa94a (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
# Created by: Ashish SHUKLA <ashish@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mcomix
PORTVERSION=    1.2.1
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}/MComix-${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ashish@FreeBSD.org
COMMENT=    GTK2 comic book viewer

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR}
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       python:2.7 tar:bzip2
USE_GNOME=  pygtk2
USE_PYTHON= autoplist distutils

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

.include <bsd.port.mk>