1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add ruby-syslog, a Ruby module to access syslog(3) interface.

This commit is contained in:
Akinori MUSHA 2000-08-15 02:28:40 +00:00
parent 7d95f7742f
commit 597e8a3a90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31645
6 changed files with 54 additions and 0 deletions

View File

@ -75,6 +75,7 @@
SUBDIR += rdate
SUBDIR += rtty
SUBDIR += roottail
SUBDIR += ruby-syslog
SUBDIR += sarah
SUBDIR += sdd
SUBDIR += setcdboot

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (ruby/syslog-0.1.1.tar.gz) = 183a78576dde88dd5659f25dd1e269ac

View File

@ -0,0 +1 @@
Ruby module to access syslog(3) interface

View File

@ -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

View File

@ -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