summaryrefslogblamecommitdiff
path: root/graphics/cbview/Makefile
blob: adfd928e87b5ab2ad507db90c63381e4b895f4d6 (plain) (tree)
1
2
3
4
5
6
7
8
           


                      
                 
                              
                                                      
 



                                                                


                                                   

                                                                                 

                   
                     

                               


                                   
                   
                              
 
           
                                                            

                                     
           




                                                              


                      
# $FreeBSD$

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

MAINTAINER=	nemysis@gmx.ch
COMMENT=	Viewer/converter for CBR/CBZ comic book archives

LICENSE=	GPLv2

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
USES=		perl5

PLIST_FILES=	bin/${PORTNAME}

PORTDOCS=	Changes README TODO

NO_STAGE=	yes
.include <bsd.port.options.mk>

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/bin/perl -w|${PERL}|' \
		${WRKSRC}/${PORTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/

.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>