aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2011-08-18 14:03:24 +0800
committertota <tota@FreeBSD.org>2011-08-18 14:03:24 +0800
commit616e2ce4b308fd6ac26656637407284ea7bb4d83 (patch)
tree991dec487f0ae5857f83643faea2ecc4e74ce797 /net
parent9c2c1e523deb299132aae85f1b46afb4cc497203 (diff)
downloadfreebsd-ports-gnome-616e2ce4b308fd6ac26656637407284ea7bb4d83.tar.gz
freebsd-ports-gnome-616e2ce4b308fd6ac26656637407284ea7bb4d83.tar.zst
freebsd-ports-gnome-616e2ce4b308fd6ac26656637407284ea7bb4d83.zip
- Add a new port: net/ruby-growl
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/
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/ruby-growl/Makefile41
-rw-r--r--net/ruby-growl/distinfo2
-rw-r--r--net/ruby-growl/pkg-descr15
4 files changed, 59 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index e9291ce9c720..6f9a7606a61e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -943,6 +943,7 @@
SUBDIR += rtpproxy
SUBDIR += rtptools
SUBDIR += ruby-dict
+ SUBDIR += ruby-growl
SUBDIR += ruby-icmp
SUBDIR += ruby-ldap
SUBDIR += ruby-net-geoip
diff --git a/net/ruby-growl/Makefile b/net/ruby-growl/Makefile
new file mode 100644
index 000000000000..5bf626d65199
--- /dev/null
+++ b/net/ruby-growl/Makefile
@@ -0,0 +1,41 @@
+# 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>
diff --git a/net/ruby-growl/distinfo b/net/ruby-growl/distinfo
new file mode 100644
index 000000000000..705d32316829
--- /dev/null
+++ b/net/ruby-growl/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ruby/ruby-growl-3.0.tgz) = 3cebb8dc9b8ef2c441f40ec92c2944942b6443fade477d501a1ffc92a7944736
+SIZE (ruby/ruby-growl-3.0.tgz) = 6404
diff --git a/net/ruby-growl/pkg-descr b/net/ruby-growl/pkg-descr
new file mode 100644
index 000000000000..0b32379b99a5
--- /dev/null
+++ b/net/ruby-growl/pkg-descr
@@ -0,0 +1,15 @@
+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/