[97186] trunk/dports/aqua
raimue at macports.org
raimue at macports.org
Wed Aug 29 06:25:58 PDT 2012
Revision: 97186
https://trac.macports.org/changeset/97186
Author: raimue at macports.org
Date: 2012-08-29 06:25:54 -0700 (Wed, 29 Aug 2012)
Log Message:
-----------
aqua/terminal-notifier:
New port
Added Paths:
-----------
trunk/dports/aqua/terminal-notifier/
trunk/dports/aqua/terminal-notifier/Portfile
trunk/dports/aqua/terminal-notifier/files/
trunk/dports/aqua/terminal-notifier/files/patch-pbxproj.diff
trunk/dports/aqua/terminal-notifier/files/terminal-notifier
Added: trunk/dports/aqua/terminal-notifier/Portfile
===================================================================
--- trunk/dports/aqua/terminal-notifier/Portfile (rev 0)
+++ trunk/dports/aqua/terminal-notifier/Portfile 2012-08-29 13:25:54 UTC (rev 97186)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup github 1.0
+PortGroup xcode 1.0
+
+github.setup alloy terminal-notifier 1.4.2
+categories aqua
+platforms darwin
+license MIT
+maintainers raimue openmaintainer
+
+description A command line tool to send Mac OS X user notifications
+long_description \
+ ${name} is able to send notifications to the Mac OS X \
+ Notification Center, which is available in Mac OS X \
+ 10.8 Mountain Lion or later.
+
+pre-fetch {
+ if {${os.platform} == "darwin" && ${os.major} < 12} {
+ ui_error "${name} only works with Mac OS X 10.8 Mountain Lion or later."
+ return -code error "incompatible Mac OS X version"
+ }
+}
+
+checksums rmd160 6b19283737767afc75f01c3863fce539f2d69bf7 \
+ sha256 32827a6a685bd2b5f7923522fdf364b5743940a4bbf8814ae638e7247f45cde3
+
+post-extract {
+ # This icon is a copy from Apple and is protected by copyright. Delete this
+ # here to avoid distributing copyright protected files in archives.
+ delete ${worksrcpath}/Terminal.icns
+}
+
+patchfiles patch-pbxproj.diff
+
+post-destroot {
+ # The terminal-notifier.app is not meant to be called directly, however, it
+ # has to be an application bundle in order to be able to work with the
+ # notification center. We hide the bundle in libexec and install a symlink
+ # in bin.
+
+ move ${destroot}${applications_dir}/${name}.app ${destroot}${prefix}/libexec/
+ xinstall -m 755 ${filespath}/${name} ${destroot}${prefix}/bin/
+ reinplace "s:@PREFIX@:${prefix}:g" ${destroot}${prefix}/bin/${name}
+}
Property changes on: trunk/dports/aqua/terminal-notifier/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/aqua/terminal-notifier/files/patch-pbxproj.diff
===================================================================
--- trunk/dports/aqua/terminal-notifier/files/patch-pbxproj.diff (rev 0)
+++ trunk/dports/aqua/terminal-notifier/files/patch-pbxproj.diff 2012-08-29 13:25:54 UTC (rev 97186)
@@ -0,0 +1,52 @@
+--- Terminal Notifier.xcodeproj/project.pbxproj.orig 2012-08-29 14:53:38.000000000 +0200
++++ Terminal Notifier.xcodeproj/project.pbxproj 2012-08-29 14:54:35.000000000 +0200
+@@ -14,7 +14,6 @@
+ 5199792C15B1F92B003AFC57 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5199792B15B1F92B003AFC57 /* AppDelegate.m */; };
+ 5199792F15B1F92B003AFC57 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5199792D15B1F92B003AFC57 /* MainMenu.xib */; };
+ 5199794215B2F908003AFC57 /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5199794115B2F908003AFC57 /* ScriptingBridge.framework */; };
+- 5199794C15B302F1003AFC57 /* Terminal.icns in Resources */ = {isa = PBXBuildFile; fileRef = 5199794B15B302F1003AFC57 /* Terminal.icns */; };
+ /* End PBXBuildFile section */
+
+ /* Begin PBXFileReference section */
+@@ -32,7 +31,6 @@
+ 5199792B15B1F92B003AFC57 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ 5199792E15B1F92B003AFC57 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
+ 5199794115B2F908003AFC57 /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; };
+- 5199794B15B302F1003AFC57 /* Terminal.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Terminal.icns; sourceTree = "<group>"; };
+ /* End PBXFileReference section */
+
+ /* Begin PBXFrameworksBuildPhase section */
+@@ -51,7 +49,6 @@
+ 5199790915B1F92B003AFC57 = {
+ isa = PBXGroup;
+ children = (
+- 5199794B15B302F1003AFC57 /* Terminal.icns */,
+ 5199794115B2F908003AFC57 /* ScriptingBridge.framework */,
+ 5199791E15B1F92B003AFC57 /* Terminal Notifier */,
+ 5199791715B1F92B003AFC57 /* Frameworks */,
+@@ -163,7 +160,6 @@
+ 5199792315B1F92B003AFC57 /* InfoPlist.strings in Resources */,
+ 5199792915B1F92B003AFC57 /* Credits.rtf in Resources */,
+ 5199792F15B1F92B003AFC57 /* MainMenu.xib in Resources */,
+- 5199794C15B302F1003AFC57 /* Terminal.icns in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+@@ -261,7 +257,7 @@
+ 5199793315B1F92B003AFC57 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+- CODE_SIGN_IDENTITY = "Developer ID Application: Fingertips B.V.";
++ CODE_SIGN_IDENTITY = "";
+ COMBINE_HIDPI_IMAGES = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Terminal Notifier/Terminal Notifier-Prefix.pch";
+@@ -275,7 +271,7 @@
+ 5199793415B1F92B003AFC57 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+- CODE_SIGN_IDENTITY = "Developer ID Application: Fingertips B.V.";
++ CODE_SIGN_IDENTITY = "";
+ COMBINE_HIDPI_IMAGES = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Terminal Notifier/Terminal Notifier-Prefix.pch";
Added: trunk/dports/aqua/terminal-notifier/files/terminal-notifier
===================================================================
--- trunk/dports/aqua/terminal-notifier/files/terminal-notifier (rev 0)
+++ trunk/dports/aqua/terminal-notifier/files/terminal-notifier 2012-08-29 13:25:54 UTC (rev 97186)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec @PREFIX@/libexec/terminal-notifier.app/Contents/MacOS/terminal-notifier "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120829/969ebe11/attachment-0001.html>
More information about the macports-changes
mailing list