Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Nov 2012 11:17:48 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/173294: [NEW PORT] graphics/cbviewer: Comic book viewer for comic book archives in cbz, cbr, zip, rar
Message-ID:  <20121102101752.2634198B@hub.freebsd.org>
Resent-Message-ID: <201211021020.qA2AK15V003505@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173294
>Category:       ports
>Synopsis:       [NEW PORT] graphics/cbviewer: Comic book viewer for comic book archives in cbz, cbr, zip, rar
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 02 10:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
CBViewer is a comic book viewer for comic book archives in cbz, cbr, zip, and
rar formats. The interface is written in java but it requires unrar for linux
or windows depending which OS you are running on. It will do zip files in java.

WWW: http://www.renuncln.com/programs/cbviewer/

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

Build log

https://redports.org/buildarchive/20121102013433-41498/

>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cbviewer
#	cbviewer/Makefile
#	cbviewer/pkg-descr
#	cbviewer/files
#	cbviewer/files/cbviewer.in
#	cbviewer/distinfo
#
echo c - cbviewer
mkdir -p cbviewer > /dev/null 2>&1
echo x - cbviewer/Makefile
sed 's/^X//' >cbviewer/Makefile << '31210d46407505e18307730df3dc311c'
X# Created by:	nemysis@gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cbviewer
XPORTVERSION=	0.8
XCATEGORIES=	graphics java
XMASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/CBViewer%200.8/ \
X		SF/nemysisfreebsdp/:icons
XDISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
X		${PORTNAME}.png:icons
XDIST_SUBDIR=	${PORTNAME}
XEXTRACT_ONLY=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	Comic book viewer for comic book archives in cbz, cbr, zip, rar
X
XLICENSE=	GPLv2
X
XRUN_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar \
X		unzip:${PORTSDIR}/archivers/unzip
X
XFETCH_ARGS?=	-Fpr
XUSE_ZIP=	yes
XUSE_JAVA=	yes
XJAVA_VERSION=	1.5+
XNO_BUILD=	yes
X
XPLIST_FILES=	bin/${PORTNAME} \
X		share/pixmaps/${PORTNAME}.png
X
XPORTDATA=	*
XPORTDOCS=	CREDITS
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
X
XSUB_FILES=	${PORTNAME}
X
XDESKTOP_ENTRIES="CBViewer" "${COMMENT}" "${PORTNAME}" \
X		"${PORTNAME}" "Application;Graphics;Viewer;" true
X
X.include <bsd.port.options.mk>
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/*.jar ${DATADIR}
X
Xpost-install:
X	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
X
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
31210d46407505e18307730df3dc311c
echo x - cbviewer/pkg-descr
sed 's/^X//' >cbviewer/pkg-descr << 'a381d07e4cf99108746e3c912bb6d0ee'
XCBViewer is a comic book viewer for comic book archives in cbz, cbr, zip, and
Xrar formats. The interface is written in java but it requires unrar for linux
Xor windows depending which OS you are running on. It will do zip files in java.
X
XWWW: http://www.renuncln.com/programs/cbviewer/
a381d07e4cf99108746e3c912bb6d0ee
echo c - cbviewer/files
mkdir -p cbviewer/files > /dev/null 2>&1
echo x - cbviewer/files/cbviewer.in
sed 's/^X//' >cbviewer/files/cbviewer.in << 'e5117981b6ecf7bf054b3c61fff6db1d'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
Xexport JAVA_VERSION="%%JAVA_VERSION%%"
X
Xcd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
X-Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/CBViewer.jar" "${@}"
e5117981b6ecf7bf054b3c61fff6db1d
echo x - cbviewer/distinfo
sed 's/^X//' >cbviewer/distinfo << 'dd7e2597176f5d441667442401c5d820'
XSHA256 (cbviewer/cbviewer-0.8.zip) = 747323783204caa75384244a45c3b1d80579f58419d1a332893d8e186ac117c6
XSIZE (cbviewer/cbviewer-0.8.zip) = 303511
XSHA256 (cbviewer/cbviewer.png) = 8aab7a0cb882196883508d369bd3b2656a59eb180b4b5ddea8444fa0e8033d1e
XSIZE (cbviewer/cbviewer.png) = 3334
dd7e2597176f5d441667442401c5d820
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121102101752.2634198B>