Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 15:33:54 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308429 - in head/graphics: . cbviewer cbviewer/files
Message-ID:  <201212071533.qB7FXsSt027561@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Dec  7 15:33:53 2012
New Revision: 308429
URL: http://svnweb.freebsd.org/changeset/ports/308429

Log:
  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/
  
  PR:		ports/173294
  Submitted by:	nemysis@gmx.ch
  Feature safe:	yes

Added:
  head/graphics/cbviewer/
  head/graphics/cbviewer/Makefile   (contents, props changed)
  head/graphics/cbviewer/distinfo   (contents, props changed)
  head/graphics/cbviewer/files/
  head/graphics/cbviewer/files/cbviewer.in   (contents, props changed)
  head/graphics/cbviewer/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Fri Dec  7 15:27:56 2012	(r308428)
+++ head/graphics/Makefile	Fri Dec  7 15:33:53 2012	(r308429)
@@ -84,6 +84,7 @@
     SUBDIR += camerakit
     SUBDIR += cbrpager
     SUBDIR += cbview
+    SUBDIR += cbviewer
     SUBDIR += cegui
     SUBDIR += cenon
     SUBDIR += cfdg

Added: head/graphics/cbviewer/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/cbviewer/Makefile	Fri Dec  7 15:33:53 2012	(r308429)
@@ -0,0 +1,57 @@
+# Created by:	nemysis@gmx.ch
+# $FreeBSD$
+
+PORTNAME=	cbviewer
+PORTVERSION=	0.8
+CATEGORIES=	graphics java
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/CBViewer%200.8/ \
+		SF/nemysisfreebsdp/:icons
+DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+DIST_SUBDIR=	${PORTNAME}
+EXTRACT_ONLY=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Comic book viewer for comic book archives in cbz, cbr, zip, rar
+
+LICENSE=	GPLv2
+
+RUN_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar \
+		unzip:${PORTSDIR}/archivers/unzip
+
+FETCH_ARGS?=	-Fpr
+
+USE_ZIP=	yes
+USE_JAVA=	yes
+JAVA_VERSION=	1.5+
+NO_BUILD=	yes
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/java/cbviewer/CBViewer.jar \
+		share/pixmaps/${PORTNAME}.png
+PLIST_DIRSTRY=	share/java/cbviewer
+
+PORTDOCS=	CREDITS
+DATADIR=	${JAVASHAREDIR}/${PORTNAME}
+
+SUB_FILES=	${PORTNAME}
+
+DESKTOP_ENTRIES="CBViewer" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Application;Graphics;Viewer;" true
+
+.include <bsd.port.options.mk>
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+	${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.jar ${DATADIR}
+
+post-install:
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>

Added: head/graphics/cbviewer/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/cbviewer/distinfo	Fri Dec  7 15:33:53 2012	(r308429)
@@ -0,0 +1,4 @@
+SHA256 (cbviewer/cbviewer-0.8.zip) = 747323783204caa75384244a45c3b1d80579f58419d1a332893d8e186ac117c6
+SIZE (cbviewer/cbviewer-0.8.zip) = 303511
+SHA256 (cbviewer/cbviewer.png) = 8aab7a0cb882196883508d369bd3b2656a59eb180b4b5ddea8444fa0e8033d1e
+SIZE (cbviewer/cbviewer.png) = 3334

Added: head/graphics/cbviewer/files/cbviewer.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/cbviewer/files/cbviewer.in	Fri Dec  7 15:33:53 2012	(r308429)
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+export JAVA_VERSION="%%JAVA_VERSION%%"
+
+cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
+-Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/CBViewer.jar" "${@}"

Added: head/graphics/cbviewer/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/cbviewer/pkg-descr	Fri Dec  7 15:33:53 2012	(r308429)
@@ -0,0 +1,5 @@
+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/



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