diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-06-19 18:10:55 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-06-19 18:10:55 +0000 |
commit | fda42049693d11fe4a38ca7a6ffa9231d5617ea6 (patch) | |
tree | bf2d63b6623bb9186b9b8693606c605995dcdede /audio/tuxguitar | |
parent | e696084d235a5c22d5e10e79e3d77c58e4be7c06 (diff) | |
download | ports-fda42049693d11fe4a38ca7a6ffa9231d5617ea6.tar.gz ports-fda42049693d11fe4a38ca7a6ffa9231d5617ea6.zip |
Notes
Diffstat (limited to 'audio/tuxguitar')
-rw-r--r-- | audio/tuxguitar/Makefile | 2 | ||||
-rw-r--r-- | audio/tuxguitar/files/tuxguitar.in | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/audio/tuxguitar/Makefile b/audio/tuxguitar/Makefile index 8bdbafb8d0ca..6b69944078f1 100644 --- a/audio/tuxguitar/Makefile +++ b/audio/tuxguitar/Makefile @@ -8,7 +8,7 @@ PORTNAME= tuxguitar DISTVERSION= 1.0-rc4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio java MASTER_SITES= SF DISTNAME= ${PORTNAME}-src-${DISTVERSION} diff --git a/audio/tuxguitar/files/tuxguitar.in b/audio/tuxguitar/files/tuxguitar.in index ab40c8787f0d..cdf16e454575 100644 --- a/audio/tuxguitar/files/tuxguitar.in +++ b/audio/tuxguitar/files/tuxguitar.in @@ -1,7 +1,9 @@ #! /bin/sh PACKAGE_MAIN=org.herac.tuxguitar.gui.TGMain -ARGS=%%DATADIR%%/tuxguitar.tg + +if [ "$1" ]; then ARGS=$1 +else ARGS=%%DATADIR%%/tuxguitar.tg; fi CLASSPATH=${CLASSPATH} CLASSPATH=${CLASSPATH}:%%DATADIR%% @@ -18,4 +20,4 @@ MOZILLA_FIVE_HOME=%%PREFIX%%/lib/%%GECKO%% java ${SWT_HACK} \ ${JAVA_FLAGS} \ -cp ${CLASSPATH} \ ${PACKAGE_MAIN} \ - %%DATADIR%%/tuxguitar.tg + "${ARGS}" |