summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-03-23 17:19:09 +0000
committernemysis <nemysis@FreeBSD.org>2014-03-23 17:19:09 +0000
commitc7d2ac022a4dd751b9707621aaab88ffc75f969d (patch)
treefb79f4c024472366d22c90930d4f9efe290de0fd
parent630118a5ca40bf9c2b0cc6b8e6da2c7da4165c4c (diff)
downloadFreeBSD-ports-c7d2ac022a4dd751b9707621aaab88ffc75f969d.zip
FreeBSD-ports-c7d2ac022a4dd751b9707621aaab88ffc75f969d.tar.gz
- Change Makefile header, use my name and @FreeBSD.org email
- Add USES dos2unix - Change files/cbviewer.in, remove -Djava.ext.dirs="%%DATADIR%%"
-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 bea8ef4..3fd184b 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 194d4af..7be1937 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" "${@}"
OpenPOWER on IntegriCloud