aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-15 10:28:40 +0800
committerknu <knu@FreeBSD.org>2000-08-15 10:28:40 +0800
commit3d112fe260823d6596b6faec6fe640d3382c37bf (patch)
tree110890e2eacffacbceb1e6253ace1aec98873697 /sysutils
parent9e9fde860d2b28725f4fe5dfde4615a830eb1bfb (diff)
downloadfreebsd-ports-gnome-3d112fe260823d6596b6faec6fe640d3382c37bf.tar.gz
freebsd-ports-gnome-3d112fe260823d6596b6faec6fe640d3382c37bf.tar.zst
freebsd-ports-gnome-3d112fe260823d6596b6faec6fe640d3382c37bf.zip
Add ruby-syslog, a Ruby module to access syslog(3) interface.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/ruby-syslog/Makefile42
-rw-r--r--sysutils/ruby-syslog/distinfo1
-rw-r--r--sysutils/ruby-syslog/pkg-comment1
-rw-r--r--sysutils/ruby-syslog/pkg-descr4
-rw-r--r--sysutils/ruby-syslog/pkg-plist5
6 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index be2895fc9e79..42f96810d2a4 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -75,6 +75,7 @@
SUBDIR += rdate
SUBDIR += rtty
SUBDIR += roottail
+ SUBDIR += ruby-syslog
SUBDIR += sarah
SUBDIR += sdd
SUBDIR += setcdboot
diff --git a/sysutils/ruby-syslog/Makefile b/sysutils/ruby-syslog/Makefile
new file mode 100644
index 000000000000..d5dc35f5e7f1
--- /dev/null
+++ b/sysutils/ruby-syslog/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: Ruby-syslog
+# Date created: 15 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= syslog
+PORTVERSION= 0.1.1
+CATEGORIES= sysutils # ruby
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
+ http://www.bekkoame.ne.jp/~yoshidam/
+MASTER_SITE_SUBDIR= knu
+PKGNAMEPREFIX= ruby-
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+INSTALL_TARGET= site-install
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY?= ${LOCALBASE}/bin/ruby
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
+
+do-configure:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/ruby/syslog
+ ${INSTALL_DATA} ${WRKSRC}/test.rb ${PREFIX}/share/examples/ruby/syslog/
+ ${MKDIR} ${PREFIX}/share/doc/ruby/syslog/
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/syslog/
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/ruby-syslog/distinfo b/sysutils/ruby-syslog/distinfo
new file mode 100644
index 000000000000..9d9c0a43367a
--- /dev/null
+++ b/sysutils/ruby-syslog/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/syslog-0.1.1.tar.gz) = 183a78576dde88dd5659f25dd1e269ac
diff --git a/sysutils/ruby-syslog/pkg-comment b/sysutils/ruby-syslog/pkg-comment
new file mode 100644
index 000000000000..dafff2d8af9b
--- /dev/null
+++ b/sysutils/ruby-syslog/pkg-comment
@@ -0,0 +1 @@
+Ruby module to access syslog(3) interface
diff --git a/sysutils/ruby-syslog/pkg-descr b/sysutils/ruby-syslog/pkg-descr
new file mode 100644
index 000000000000..8e12596fceae
--- /dev/null
+++ b/sysutils/ruby-syslog/pkg-descr
@@ -0,0 +1,4 @@
+This is a Ruby module to access syslog(3) interface.
+
+Author: Yoshida Masato <yoshidam@yoshidam.net>
+WWW: http://www.bekkoame.ne.jp/~yoshidam/Ruby.html#syslog
diff --git a/sysutils/ruby-syslog/pkg-plist b/sysutils/ruby-syslog/pkg-plist
new file mode 100644
index 000000000000..220268990cae
--- /dev/null
+++ b/sysutils/ruby-syslog/pkg-plist
@@ -0,0 +1,5 @@
+lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/syslog.so
+share/examples/ruby/syslog/test.rb
+@dirrm share/examples/ruby/syslog
+share/doc/ruby/syslog/README
+@dirrm share/doc/ruby/syslog