# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 60286 2009-11-08 09:22:20Z jmr@macports.org $

PortSystem 1.0
PortGroup xcode 1.0

name                    macports-notifier
version                 0.1.2
categories              sysutils aqua macports
maintainers             nomaintainer
description             A menubar notifier for MacPorts.
long_description    \
	MacPorts Notifier is a menubar notifier for MacPorts. It works like \
	the Gmail notifier, updating the port teee automatically and notifying \	the user if any ports are outdated.
homepage                http://portsnotifier.sourceforge.net
master_sites            googlecode:portsnotifier
checksums               md5 06b1d3e87b38c14f784d7c5ca747fcbe \
                        sha1 d9fe71ec593ad1ea2a7b0850a234446bfd6c3c34

worksrcdir              portsnotifier

patch	{
	reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/PNDefines.h \
	                                     ${worksrcpath}/net.sourceforge.portsnotifier.plist \
	                                     ${worksrcpath}/PNPortWrapper.m \
	                                     ${worksrcpath}/PortsHelper.c
}

xcode.target            PortsNotifier
xcode.configuration     Release

post-destroot	{
	move ${destroot}${applications_dir}/macports-sync-agent ${destroot}${prefix}/bin
}
