[51828] trunk/dports/aqua/TeXShop

snc at macports.org snc at macports.org
Thu Jun 4 10:36:11 PDT 2009


Revision: 51828
          http://trac.macports.org/changeset/51828
Author:   snc at macports.org
Date:     2009-06-04 10:36:10 -0700 (Thu, 04 Jun 2009)
Log Message:
-----------
add an engine for lilypond, ticket #19858

Modified Paths:
--------------
    trunk/dports/aqua/TeXShop/Portfile

Added Paths:
-----------
    trunk/dports/aqua/TeXShop/files/
    trunk/dports/aqua/TeXShop/files/lilypond.engine

Modified: trunk/dports/aqua/TeXShop/Portfile
===================================================================
--- trunk/dports/aqua/TeXShop/Portfile	2009-06-04 16:16:45 UTC (rev 51827)
+++ trunk/dports/aqua/TeXShop/Portfile	2009-06-04 17:36:10 UTC (rev 51828)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -49,4 +50,8 @@
 eval xcode.destroot.settings INSTALL_MODE_FLAG=755 ${xcode.build.settings}
 post-destroot        {
 	file delete -force ${destroot}${applications_dir}/TeX.mdimporter
+
+	xinstall -m 755 ${filespath}/lilypond.engine ${destroot}${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine
+    reinplace s|@@PREFIX@@|${prefix}|g ${destroot}${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine
+    ui_msg "If you intend to use the Lilypond engine, please copy ${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine to ~/Library/${name}/Engines/Lilypond.engine"
 }

Added: trunk/dports/aqua/TeXShop/files/lilypond.engine
===================================================================
--- trunk/dports/aqua/TeXShop/files/lilypond.engine	                        (rev 0)
+++ trunk/dports/aqua/TeXShop/files/lilypond.engine	2009-06-04 17:36:10 UTC (rev 51828)
@@ -0,0 +1,4 @@
+#!/bin/tcsh
+
+set path=($path @@PREFIX@@)
+lilypond "$1"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090604/1df97ae9/attachment.html>


More information about the macports-changes mailing list