blob: d8e69fc28ab5353c39cb00738ebaf928aa0baee7 (
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
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: comix
# Date created: 26 November 2005
# Whom: Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= comix
PORTVERSION= 2.4.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mezz@FreeBSD.org
COMMENT= A GTK2 comic book viewer for .cbz, .cbr and .cbt files
RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar \
${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
NO_BUILD= yes
USE_GNOME= pygtk2
USE_PYTHON= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
DOCS= COPYING ChangeLog README
MAN1= comix.1
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/comix.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|g ; s|1.gz|1|g' \
${WRKSRC}/install.py
do-install:
@(cd ${WRKSRC} ; \
${PYTHON_CMD} install.py install --installdir ${PREFIX})
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|