2001-06-21 12:46:15 +00:00
|
|
|
# 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
|
2001-09-17 17:54:27 +00:00
|
|
|
PORTREVISION= 1
|
2001-06-21 12:46:15 +00:00
|
|
|
CATEGORIES= net ruby
|
2003-08-08 18:21:52 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ruby-${PORTNAME}
|
2001-06-21 12:46:15 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2005-11-11 01:18:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 05:42:05 +00:00
|
|
|
COMMENT= A Ruby library to use the NIS/YP API
|
2001-06-21 12:46:15 +00:00
|
|
|
|
|
|
|
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)
|
2002-10-06 21:38:34 +00:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-06-21 12:46:15 +00:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 21:38:34 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-06-21 12:46:15 +00:00
|
|
|
.endfor
|
2002-10-06 21:38:34 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test/* ${RUBY_MODEXAMPLESDIR}/
|
2001-06-21 12:46:15 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|