From owner-svn-ports-head@FreeBSD.ORG Fri Dec 7 15:33:55 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E88D825; Fri, 7 Dec 2012 15:33:55 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 53CB68FC13; Fri, 7 Dec 2012 15:33:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB7FXtII027568; Fri, 7 Dec 2012 15:33:55 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB7FXsSt027561; Fri, 7 Dec 2012 15:33:54 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201212071533.qB7FXsSt027561@svn.freebsd.org> From: Pawel Pekala Date: Fri, 7 Dec 2012 15:33:54 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 15:33:55 -0000 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 + +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 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/