summaryrefslogtreecommitdiff
path: root/graphics/cbview/Makefile
blob: 14720b3fe948e481cef5915f0ae65e4e927054c7 (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
# New ports collection makefile for:	cbview
# Date created:				05 May 2004
# Whom:					Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	cbview
PORTVERSION=	0.06
PORTREVISION=	8
CATEGORIES=	graphics perl5
MASTER_SITES=	http://www.sourcefiles.org/Toys/Humor/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A viewer/converter for CBR/CBZ comic book archives

RUN_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar \
		unzip:${PORTSDIR}/archivers/unzip \
		p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
		p5-String-ShellQuote>=0:${PORTSDIR}/textproc/p5-String-ShellQuote

NO_BUILD=	yes
USE_PERL5=	yes

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	COPYING Changes INSTALL README TODO

post-patch:
	@${REINPLACE_CMD} -e 's|perl -w|env perl|g' \
		${WRKSRC}/${PORTNAME}

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef (NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>