67e9f7d303
A pure-ruby growl notifier. ruby-growl allows you to perform Growl notification via UDP from machines without growl installed (for example, non-OSX machines). What's Growl? Growl is a really cool "global notification system for Mac OS X". See http://growl.info/ See also the Ruby Growl bindings in Growl's subversion repository: http://growl.info/documentation/growl-source-install.php ruby-growl also contains a command-line notification tool named 'growl'. Where possible, it isoption-compatible with growlnotify. (Use --priority instead of -p.) WWW: http://rubyforge.org/projects/ruby-growl/
41 lines
1,009 B
Makefile
41 lines
1,009 B
Makefile
# New ports collection makefile for: ruby-growl
|
|
# Date created: 2011-05-08
|
|
# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= growl
|
|
PORTVERSION= 3.0
|
|
CATEGORIES= net ruby
|
|
MASTER_SITES= RF
|
|
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX:S|${RUBY_SUFFIX}||}${PORTNAME}
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PKGNAMEPREFIX:S|${RUBY_SUFFIX}||}${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
|
|
|
|
MAINTAINER= tota@FreeBSD.org
|
|
COMMENT= A pure-ruby growl notifier
|
|
|
|
USE_RUBY= yes
|
|
NO_BUILD= yes
|
|
|
|
RUBY_SHEBANG_FILES= bin/growl lib/ruby-growl.rb
|
|
PLIST_FILES= bin/growl \
|
|
%%RUBY_SITELIBDIR%%/ruby-growl.rb
|
|
|
|
PORTDOCS= History.txt README.txt
|
|
DOCSDIR= ${RUBY_MODDOCDIR}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/growl ${PREFIX}/bin/
|
|
${INSTALL_DATA} ${WRKSRC}/lib/ruby-growl.rb ${RUBY_SITELIBDIR}/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|