[72013] trunk/dports/devel

ryandesign at macports.org ryandesign at macports.org
Wed Sep 29 22:53:45 PDT 2010


Revision: 72013
          http://trac.macports.org/changeset/72013
Author:   ryandesign at macports.org
Date:     2010-09-29 22:53:43 -0700 (Wed, 29 Sep 2010)
Log Message:
-----------
Drizzle: new port, version 28

Added Paths:
-----------
    trunk/dports/devel/Drizzle/
    trunk/dports/devel/Drizzle/Portfile
    trunk/dports/devel/Drizzle/files/
    trunk/dports/devel/Drizzle/files/drizzle.in
    trunk/dports/devel/Drizzle/files/drizzleapp.in

Added: trunk/dports/devel/Drizzle/Portfile
===================================================================
--- trunk/dports/devel/Drizzle/Portfile	                        (rev 0)
+++ trunk/dports/devel/Drizzle/Portfile	2010-09-30 05:53:43 UTC (rev 72013)
@@ -0,0 +1,59 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem                  1.0
+
+name                        Drizzle
+version                     28
+categories                  devel
+platforms                   darwin
+maintainers                 ryandesign
+license                     GPL-3+
+supported_archs             noarch
+
+description                 tools related to the Myst game franchise
+
+long_description            ${name} is a collection of ${description}. \
+                            Most notably, it can transform MOUL / Myst 5 / \
+                            Crowthistle datafiles into POTS datafiles. \
+                            It also allows you to download and install all \
+                            the fan-created ages.
+
+homepage                    http://alcugs.almlys.org/Drizzle
+master_sites                sourceforge:drizzle
+distname                    ${name}${version}
+extract.suffix              .jar
+extract.only
+
+checksums                   sha1    336d83a963b9e24dc2b14d40516b23504bf07f06 \
+                            rmd160  7c9cf0fee7be1252470b23fb93db305d280ba251
+
+extract.mkdir               yes
+
+post-extract {
+    copy ${distpath}/${distfiles} ${worksrcpath}
+    copy ${filespath}/drizzle.in ${worksrcpath}/drizzle
+    copy ${filespath}/drizzleapp.in ${worksrcpath}/drizzleapp
+}
+
+use_configure               no
+
+build {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/drizzle ${worksrcpath}/drizzleapp
+}
+
+destroot {
+    set javadir ${destroot}${prefix}/share/java/
+    xinstall -d ${javadir}
+    xinstall ${worksrcpath}/${distfiles} ${javadir}drizzle.jar
+    
+    xinstall ${worksrcpath}/drizzle ${destroot}${prefix}/bin/
+    
+    set appdir ${destroot}${applications_dir}/${name}.app/Contents/MacOS
+    xinstall -d ${appdir}
+    xinstall ${worksrcpath}/drizzleapp ${appdir}/${name}
+}
+
+livecheck.type              regex
+livecheck.url               http://sourceforge.net/projects/drizzle/files/
+livecheck.regex             /${name}(\[0-9.\]+)${extract.suffix}


Property changes on: trunk/dports/devel/Drizzle/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/devel/Drizzle/files/drizzle.in
===================================================================
--- trunk/dports/devel/Drizzle/files/drizzle.in	                        (rev 0)
+++ trunk/dports/devel/Drizzle/files/drizzle.in	2010-09-30 05:53:43 UTC (rev 72013)
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+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 \
+-jar "@PREFIX@/share/java/drizzle.jar" "$@"


Property changes on: trunk/dports/devel/Drizzle/files/drizzle.in
___________________________________________________________________
Added: svn:eol-style
   + native

Added: trunk/dports/devel/Drizzle/files/drizzleapp.in
===================================================================
--- trunk/dports/devel/Drizzle/files/drizzleapp.in	                        (rev 0)
+++ trunk/dports/devel/Drizzle/files/drizzleapp.in	2010-09-30 05:53:43 UTC (rev 72013)
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+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 \
+-jar "@PREFIX@/share/java/drizzle.jar"


Property changes on: trunk/dports/devel/Drizzle/files/drizzleapp.in
___________________________________________________________________
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100929/cbb315c8/attachment.html>


More information about the macports-changes mailing list