diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-21 12:46:15 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-21 12:46:15 +0000 |
commit | c2d4f204840df5cf4572dd473cf7a0b92c8c93f4 (patch) | |
tree | 842377815949b9d58a304cbadf24f5793f8430b7 /net/ruby-nis | |
parent | ea8c1a55b7a3d3d283f638142b5fbe3d846f389c (diff) | |
download | ports-c2d4f204840df5cf4572dd473cf7a0b92c8c93f4.tar.gz ports-c2d4f204840df5cf4572dd473cf7a0b92c8c93f4.zip |
Notes
Diffstat (limited to 'net/ruby-nis')
-rw-r--r-- | net/ruby-nis/Makefile | 36 | ||||
-rw-r--r-- | net/ruby-nis/distinfo | 1 | ||||
-rw-r--r-- | net/ruby-nis/files/patch-extconf.rb | 13 | ||||
-rw-r--r-- | net/ruby-nis/files/patch-yp.c | 10 | ||||
-rw-r--r-- | net/ruby-nis/pkg-comment | 1 | ||||
-rw-r--r-- | net/ruby-nis/pkg-descr | 4 | ||||
-rw-r--r-- | net/ruby-nis/pkg-plist | 9 |
7 files changed, 74 insertions, 0 deletions
diff --git a/net/ruby-nis/Makefile b/net/ruby-nis/Makefile new file mode 100644 index 000000000000..d4b7aa012c74 --- /dev/null +++ b/net/ruby-nis/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: ruby-nis +# Date created: 21 June 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= nis +PORTVERSION= 0.1.1 +CATEGORIES= net ruby +MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +WRKSRC= ${WRKDIR}/ruby-${PORTNAME} +INSTALL_TARGET= site-install + +DOCS_EN= README README.html + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/test/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ +.endif + +.include <bsd.port.mk> diff --git a/net/ruby-nis/distinfo b/net/ruby-nis/distinfo new file mode 100644 index 000000000000..b37faa60920b --- /dev/null +++ b/net/ruby-nis/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ruby-nis-0.1.1.tar.gz) = bd8d7ea8e7dd15867afc32a612e4a23b diff --git a/net/ruby-nis/files/patch-extconf.rb b/net/ruby-nis/files/patch-extconf.rb new file mode 100644 index 000000000000..8f15e895e352 --- /dev/null +++ b/net/ruby-nis/files/patch-extconf.rb @@ -0,0 +1,13 @@ +--- extconf.rb.orig Fri Apr 20 14:38:57 2001 ++++ extconf.rb Thu Jun 21 21:24:05 2001 +@@ -6,8 +6,8 @@ + nis_h = have_header('rpcsvc/nis.h') + ypclnt_h = have_header('rpcsvc/ypclnt.h') + ypprot_h = have_header('rpcsvc/yp_prot.h') +-libnsl = have_library('nsl') ++have_library('nsl') + +-if( libnsl && ypclnt_h && ypprot_h ) ++if( have_func("yp_all") && ypclnt_h && ypprot_h ) + create_makefile('nis') + end diff --git a/net/ruby-nis/files/patch-yp.c b/net/ruby-nis/files/patch-yp.c new file mode 100644 index 000000000000..a0cfae6260b5 --- /dev/null +++ b/net/ruby-nis/files/patch-yp.c @@ -0,0 +1,10 @@ +--- yp.c.orig Fri Apr 20 16:07:42 2001 ++++ yp.c Thu Jun 21 21:30:30 2001 +@@ -3,6 +3,7 @@ + */ + + #include "nis.h" ++#include <rpc/rpc.h> + #include <rpcsvc/ypclnt.h> + #include <rpcsvc/yp_prot.h> + diff --git a/net/ruby-nis/pkg-comment b/net/ruby-nis/pkg-comment new file mode 100644 index 000000000000..f8e1487506f2 --- /dev/null +++ b/net/ruby-nis/pkg-comment @@ -0,0 +1 @@ +A Ruby library to use the NIS/YP API diff --git a/net/ruby-nis/pkg-descr b/net/ruby-nis/pkg-descr new file mode 100644 index 000000000000..0075cb176f51 --- /dev/null +++ b/net/ruby-nis/pkg-descr @@ -0,0 +1,4 @@ +Ruby/NIS is a ruby library to use the NIS/YP API. + +WWW: http://kt-www.jaist.ac.jp/~ttate/lang/ruby/ruby-nis.html +Author: Takaaki Tateishi <ttate@jaist.ac.jp> diff --git a/net/ruby-nis/pkg-plist b/net/ruby-nis/pkg-plist new file mode 100644 index 000000000000..05dcf6c573b6 --- /dev/null +++ b/net/ruby-nis/pkg-plist @@ -0,0 +1,9 @@ +%%RUBY_SITEARCHLIBDIR%%/nis.so +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/nis/yp_all.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/nis/yp_all2.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/nis/yp_first.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/nis/yp_match.rb +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/nis +%%PORTDOCS%%%%RUBY_DOCDIR%%/nis/README +%%PORTDOCS%%%%RUBY_DOCDIR%%/nis/README.html +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/nis |