Changeset 11153 for trunk/dports/aqua


Ignore:
Timestamp:
Feb 28, 2005, 2:22:13 PM (14 years ago)
Author:
mww
Message:

update to v0.6,
add some nice icon for iport's messages

Location:
trunk/dports/aqua/Growl
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/Growl/Portfile

    r9226 r11153  
    1 # $Id: Portfile,v 1.4 2004/11/09 23:45:00 mww Exp $
     1# $Id: Portfile,v 1.5 2005/02/28 14:22:12 mww Exp $
    22
    33PortSystem 1.0
    44
    55name                    Growl
    6 version                 0.5
    7 revision                2
     6version                 0.6
    87categories              aqua
    98platforms               darwin
     
    1514
    1615homepage                http://growl.info/
    17 master_sites            ${homepage}files/source/
     16master_sites    ${homepage}files/source/
    1817distname                growl-${version}
    19 use_bzip2               yes
    20 checksums               md5 03ce739aebad504a1a22605c0a076012
     18checksums               md5 d0a3c17b0e324ce6f5a666ba3529c6fc
    2119
    2220use_configure   no
    2321
    2422post-build      {
    25         system "cd ${worksrcpath}/Examples/growlnotify && xcodebuild"
    26         system "cd ${worksrcpath}/Examples/GrowlTunes && xcodebuild"
    27         system "cd ${worksrcpath}/Examples/GrowlMail && xcodebuild"
     23        system "cd ${worksrcpath}/Extras/growlnotify && xcodebuild"
     24        system "cd ${worksrcpath}/Extras/GrowlTunes && xcodebuild"
     25        system "cd ${worksrcpath}/Extras/GrowlMail && xcodebuild"
    2826}
    2927
     
    3230                ${destroot}/Library/Frameworks/ \
    3331                ${destroot}/Library/Mail/Bundles/ \
    34                 ${destroot}/Library/PreferencePanes/
     32                ${destroot}/Library/PreferencePanes/ \
     33                ${destroot}${prefix}/share/growl/
    3534        file copy ${worksrcpath}/build/Growl.prefPane \
    3635                ${destroot}/Library/PreferencePanes/
    37         file copy ${worksrcpath}/build/GrowlAppBridge.framework \
     36        file copy ${worksrcpath}/build/Growl.framework \
    3837                ${destroot}/Library/Frameworks/
    39         file copy ${worksrcpath}/Examples/GrowlTunes/build/GrowlTunes.app \
     38        file copy ${worksrcpath}/Extras/GrowlTunes/build/GrowlTunes.app \
    4039                ${destroot}/Applications/DarwinPorts/
    41         file copy ${worksrcpath}/Examples/GrowlMail/build/GrowlMail.mailbundle \
     40        file copy ${worksrcpath}/Extras/GrowlMail/build/GrowlMail.mailbundle \
    4241                ${destroot}/Library/Mail/Bundles
    43         xinstall -m 755 ${worksrcpath}/Examples/growlnotify/build/growlnotify \
     42        xinstall -m 755 ${worksrcpath}/Extras/growlnotify/build/growlnotify \
    4443                ${destroot}${prefix}/bin
     44        xinstall -m 644 ${filespath}/darwinports.png \
     45                ${destroot}${prefix}/share/growl
    4546        xinstall -m 755 ${filespath}/iport ${destroot}${prefix}/bin
    4647        reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/iport
  • trunk/dports/aqua/Growl/files/iport

    r9225 r11153  
    11#!/bin/sh
    22PREFIX=__PREFIX__
    3 GROWL=${PREFIX}/bin/growlnotify
     3IMAGE=${PREFIX}/share/growl/darwinports.png
     4GROWL="${PREFIX}/bin/growlnotify --image ${IMAGE}"
    45
    5 ${PREFIX}/bin/port $*
     6VAR=$( ${PREFIX}/bin/port $* )
    67
    78if [ $? -eq 0 ]; then
    8         echo -e "success:\n\t${*}" | ${GROWL} DarwinPorts
     9        echo -e "${*}\n\n${VAR}" | ${GROWL} -s -p -1
    910else
    10         echo -e "error:\n\t${*}" | ${GROWL} DarwinPorts
     11        echo -e "${*}\n\n${VAR}" | ${GROWL} -s
    1112fi
Note: See TracChangeset for help on using the changeset viewer.