Replaced growlnotify's install.sh file with an Installer package.
authorPeter Hosey <hg@boredzo.org>
Tue Jun 08 06:32:24 2010 -0700 (2010-06-08)
changeset 46273d044b381433
parent 4626 729689fd7751
child 4628 d96c40713701
Replaced growlnotify's install.sh file with an Installer package.
Extras/growlnotify/README.txt
Extras/growlnotify/install.sh
Release/Makefile
Release/growlnotify/growlnotify.pmdoc/01growlnotify-contents.xml
Release/growlnotify/growlnotify.pmdoc/01growlnotify.xml
Release/growlnotify/growlnotify.pmdoc/02growlnotify-contents.xml
Release/growlnotify/growlnotify.pmdoc/02growlnotify.xml
Release/growlnotify/growlnotify.pmdoc/index.xml
Release/growlnotify/scripts/preinstall.zsh
     1.1 --- a/Extras/growlnotify/README.txt	Tue Jun 08 02:30:21 2010 -0700
     1.2 +++ b/Extras/growlnotify/README.txt	Tue Jun 08 06:32:24 2010 -0700
     1.3 @@ -1,3 +1,5 @@
     1.4 -growlnotify is a command-line tool to post Growl notifications. You can control all aspects of the notification (within any boundaries set up in the Growl pane of System Preferences). It can be very useful in shell scripts.
     1.5 +growlnotify is a command-line tool to enable you to send Growl notifications from the command line and from shell scripts.
     1.6  
     1.7 -Information on usage is in the manpage. Just type 'man 1 growlnotify' after installing.
     1.8 +This package includes a manual page which fully documents the tool's interface.
     1.9 +
    1.10 +Please do not use growlnotify as a replacement for our Growl framework (for Cocoa and MacRuby) or bindings (for Python, Ruby, etc.).
     2.1 --- a/Extras/growlnotify/install.sh	Tue Jun 08 02:30:21 2010 -0700
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,9 +0,0 @@
     2.4 -#!/bin/sh
     2.5 -sudo mkdir -p /usr/local/bin
     2.6 -echo "Creating /usr/local/bin"
     2.7 -sudo mkdir -p /usr/local/man/man1
     2.8 -echo "Creating /usr/local/man/man1"
     2.9 -sudo cp growlnotify /usr/local/bin/growlnotify
    2.10 -sudo cp growlnotify.1 /usr/local/man/man1/growlnotify.1
    2.11 -
    2.12 -echo "Installation complete. Please add /usr/local/bin to your PATH if you have not already. Consult your shell's documentation if you do not know how to do this."
     3.1 --- a/Release/Makefile	Tue Jun 08 02:30:21 2010 -0700
     3.2 +++ b/Release/Makefile	Tue Jun 08 06:32:24 2010 -0700
     3.3 @@ -161,10 +161,7 @@
     3.4  	cp '$(SRC_DIR)'/Extras/HardwareGrowler/*.txt '$@'
     3.5  $(GROWLNOTIFY_DIR):
     3.6  	mkdir '$@'
     3.7 -	cp '$(GROWLNOTIFY_BUILD_DIR)/growlnotify' '$@'
     3.8 -	cp '$(SRC_DIR)/Extras/growlnotify/growlnotify.1' '$@'
     3.9 -	cp '$(SRC_DIR)/Extras/growlnotify/install.sh' '$@'
    3.10 -	cp '$(SRC_DIR)'/Extras/growlnotify/*.txt '$@'
    3.11 +	$(PACKAGE_MAKER) --no-relocate --doc growlnotify/growlnotify.pmdoc --out '$@'/growlnotify.pkg --version $(GROWLNOTIFY_VERSION) --id info.growl.growlnotify.pkg -v	
    3.12  
    3.13  $(SDK_DIR):
    3.14  	@# build the SDK
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/Release/growlnotify/growlnotify.pmdoc/01growlnotify-contents.xml	Tue Jun 08 06:32:24 2010 -0700
     4.3 @@ -0,0 +1,1 @@
     4.4 +<pkg-contents spec="1.12"><f n="growlnotify" o="root" g="admin" p="33261" pt="/Volumes/Home-etc/Users/prh/Projects/@otherpeoplesprojects/growl-boredzo/Extras/growlnotify/build/Release/growlnotify" m="false" t="file"><mod>group</mod><mod>owner</mod></f></pkg-contents>
     4.5 \ No newline at end of file
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/Release/growlnotify/growlnotify.pmdoc/01growlnotify.xml	Tue Jun 08 06:32:24 2010 -0700
     5.3 @@ -0,0 +1,1 @@
     5.4 +<pkgref spec="1.12" uuid="36C3278B-8F0E-4D36-9821-F6B2FEABD56F"><config><identifier>info.growl.growlnotify.growlnotify.pkg</identifier><version>1.2.1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../../Extras/growlnotify/build/Release/growlnotify</installFrom><installTo mod="true">/usr/local/bin</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>identifier</mod><mod>parent</mod><mod>version</mod><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>scripts.preinstall.isRelativeType</mod></config><scripts><preinstall relative="true" mod="true">scripts/preinstall.zsh</preinstall><scripts-dir relative="true" mod="true">scripts</scripts-dir></scripts><contents><file-list>01growlnotify-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
     5.5 \ No newline at end of file
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/Release/growlnotify/growlnotify.pmdoc/02growlnotify-contents.xml	Tue Jun 08 06:32:24 2010 -0700
     6.3 @@ -0,0 +1,1 @@
     6.4 +<pkg-contents spec="1.12"><f n="growlnotify.1" o="root" g="admin" p="33188" pt="/Volumes/Home-etc/Users/prh/Projects/@otherpeoplesprojects/growl-boredzo/Extras/growlnotify/growlnotify.1" m="false" t="file"><mod>group</mod><mod>owner</mod></f></pkg-contents>
     6.5 \ No newline at end of file
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/Release/growlnotify/growlnotify.pmdoc/02growlnotify.xml	Tue Jun 08 06:32:24 2010 -0700
     7.3 @@ -0,0 +1,1 @@
     7.4 +<pkgref spec="1.12" uuid="493D08A0-E3A7-421D-8B71-541587B2D180"><config><identifier>info.growl.growlnotify.manpage.pkg</identifier><version>1.2.1</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true">../../Extras/growlnotify/growlnotify.1</installFrom><installTo mod="true">/usr/local/share/man/man1</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>installTo</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>identifier</mod><mod>parent</mod><mod>version</mod><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>scripts.preinstall.isRelativeType</mod></config><scripts><preinstall relative="true" mod="true">scripts/preinstall.zsh</preinstall><scripts-dir relative="true" mod="true">scripts</scripts-dir></scripts><contents><file-list>02growlnotify-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
     7.5 \ No newline at end of file
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/Release/growlnotify/growlnotify.pmdoc/index.xml	Tue Jun 08 06:32:24 2010 -0700
     8.3 @@ -0,0 +1,3 @@
     8.4 +<pkmkdoc spec="1.12"><properties><title>growlnotify</title><build>/Volumes/RAM Disk/growlnotify.pkg</build><organization>info.growl</organization><userSees ui="both"/><min-target os="3"/><domain anywhere="true" system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>growlnotify is a command-line tool to enable you to send Growl notifications from the command line and from shell scripts.
     8.5 +
     8.6 +Please do not use growlnotify as a replacement for our Growl framework (for Cocoa and MacRuby) or bindings (for Python, Ruby, etc.).</description><contents><choice title="growlnotify" id="choice1" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="info.growl.growlnotify.growlnotify.pkg"/></choice><choice title="growlnotify manual page" id="choice2" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="info.growl.growlnotify.manpage.pkg"/></choice></contents><resources bg-scale="proportional" bg-align="left"><locale lang="en-US"><resource relative="true" type="background">../../images/growlnotify/growlnotify-1024.png</resource><resource relative="true" mod="true" type="license">../../License.txt</resource><resource relative="true" mod="true" type="readme">../../Extras/growlnotify/README.txt</resource></locale><locale lang="pt"><resource relative="true" mod="true" type="background">../../images/growlnotify/growlnotify-1024.png</resource><resource relative="true" mod="true" type="license">../../License.txt</resource><resource relative="true" mod="true" type="readme">../../Extras/growlnotify/LEIAME.txt</resource></locale></resources><flags/><item type="file">01growlnotify.xml</item><item type="file">02growlnotify.xml</item><mod>properties.title</mod><mod>description</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>
     8.7 \ No newline at end of file
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/Release/growlnotify/scripts/preinstall.zsh	Tue Jun 08 06:32:24 2010 -0700
     9.3 @@ -0,0 +1,3 @@
     9.4 +#!/bin/zsh -f
     9.5 +
     9.6 +mkdir -p /usr/local/{bin,man/man1} 2>/dev/null || true