[72197] trunk/dports/devel/Drizzle
ryandesign at macports.org
ryandesign at macports.org
Wed Oct 6 06:32:54 PDT 2010
Revision: 72197
http://trac.macports.org/changeset/72197
Author: ryandesign at macports.org
Date: 2010-10-06 06:32:52 -0700 (Wed, 06 Oct 2010)
Log Message:
-----------
Drizzle: allow the app name in the Dock icon and menu bar to be overridden
Modified Paths:
--------------
trunk/dports/devel/Drizzle/Portfile
trunk/dports/devel/Drizzle/files/drizzle.in
trunk/dports/devel/Drizzle/files/drizzleapp.in
Modified: trunk/dports/devel/Drizzle/Portfile
===================================================================
--- trunk/dports/devel/Drizzle/Portfile 2010-10-06 12:57:39 UTC (rev 72196)
+++ trunk/dports/devel/Drizzle/Portfile 2010-10-06 13:32:52 UTC (rev 72197)
@@ -5,7 +5,7 @@
name Drizzle
version 28
-revision 1
+revision 2
categories devel
platforms darwin
maintainers ryandesign
Modified: trunk/dports/devel/Drizzle/files/drizzle.in
===================================================================
--- trunk/dports/devel/Drizzle/files/drizzle.in 2010-10-06 12:57:39 UTC (rev 72196)
+++ trunk/dports/devel/Drizzle/files/drizzle.in 2010-10-06 13:32:52 UTC (rev 72197)
@@ -1,12 +1,14 @@
#!/bin/bash
+[ -z "${DRIZZLE_NAME}" ] && DRIZZLE_NAME="Drizzle"
+
CONFIGDIR="${HOME}/.config/drizzle"
mkdir -p "${CONFIGDIR}"
cd "${CONFIGDIR}"
exec java -Xmx800m \
-DDrizzle.IsLauncher=false \
--Dcom.apple.mrj.application.apple.menu.about.name=Drizzle \
--Xdock:name=Drizzle \
+-Dcom.apple.mrj.application.apple.menu.about.name="${DRIZZLE_NAME}" \
+-Xdock:name="${DRIZZLE_NAME}" \
-splash: \
-jar "@PREFIX@/share/java/drizzle.jar" "$@"
Modified: trunk/dports/devel/Drizzle/files/drizzleapp.in
===================================================================
--- trunk/dports/devel/Drizzle/files/drizzleapp.in 2010-10-06 12:57:39 UTC (rev 72196)
+++ trunk/dports/devel/Drizzle/files/drizzleapp.in 2010-10-06 13:32:52 UTC (rev 72197)
@@ -1,11 +1,13 @@
#!/bin/bash
+[ -z "${DRIZZLE_NAME}" ] && DRIZZLE_NAME="Drizzle"
+
CONFIGDIR="${HOME}/.config/drizzle"
mkdir -p "${CONFIGDIR}"
cd "${CONFIGDIR}"
exec java -Xmx800m \
-DDrizzle.IsLauncher=false \
--Dcom.apple.mrj.application.apple.menu.about.name=Drizzle \
--Xdock:name=Drizzle \
+-Dcom.apple.mrj.application.apple.menu.about.name="${DRIZZLE_NAME}" \
+-Xdock:name="${DRIZZLE_NAME}" \
-jar "@PREFIX@/share/java/drizzle.jar"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101006/b4614b32/attachment.html>
More information about the macports-changes
mailing list