freebsd-ports/net/ruby-nis/Makefile

40 lines
868 B
Makefile
Raw Normal View History

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