aboutsummaryrefslogtreecommitdiff
path: root/graphics/cbviewer
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-03-23 17:19:09 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-03-23 17:19:09 +0000
commited62b45ca4e81897c2b63b9dfc4fd12875a8b2ba (patch)
treefb79f4c024472366d22c90930d4f9efe290de0fd /graphics/cbviewer
parent33358fce79c64c5ca228eb9c03af2c60951821ea (diff)
downloadports-ed62b45ca4e81897c2b63b9dfc4fd12875a8b2ba.tar.gz
ports-ed62b45ca4e81897c2b63b9dfc4fd12875a8b2ba.zip
- Change Makefile header, use my name and @FreeBSD.org email
- Add USES dos2unix - Change files/cbviewer.in, remove -Djava.ext.dirs="%%DATADIR%%"
Notes
Notes: svn path=/head/; revision=348875
Diffstat (limited to 'graphics/cbviewer')
-rw-r--r--graphics/cbviewer/Makefile6
-rw-r--r--graphics/cbviewer/files/cbviewer.in2
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/cbviewer/Makefile b/graphics/cbviewer/Makefile
index bea8ef45d59f..3fd184bf333e 100644
--- a/graphics/cbviewer/Makefile
+++ b/graphics/cbviewer/Makefile
@@ -1,4 +1,4 @@
-# Created by: nemysis <nemysis@gmx.ch>
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= cbviewer
@@ -20,7 +20,8 @@ LICENSE= GPLv2
RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar \
unzip:${PORTSDIR}/archivers/unzip
-USES= zip:infozip
+USES= dos2unix zip:infozip
+DOS2UNIX_GLOB= CREDITS
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
@@ -33,7 +34,6 @@ PLIST_FILES= bin/${PORTNAME} \
PLIST_DIRSTRY= share/java/cbviewer
PORTDOCS= CREDITS
-
OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}
diff --git a/graphics/cbviewer/files/cbviewer.in b/graphics/cbviewer/files/cbviewer.in
index 194d4af31fc9..7be1937f6085 100644
--- a/graphics/cbviewer/files/cbviewer.in
+++ b/graphics/cbviewer/files/cbviewer.in
@@ -6,4 +6,4 @@
export JAVA_VERSION="%%JAVA_VERSION%%"
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
--Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/CBViewer.jar" "${@}"
+-jar "%%DATADIR%%/CBViewer.jar" "${@}"