summaryrefslogtreecommitdiffstats
path: root/net/ruby-radius/Makefile
blob: 8eca32fc4629875a969d037ba8606a8e22fd3240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	ruby-radius
# Date created:		11 November 2002
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	radius
PORTVERSION=	1.0.0
CATEGORIES=	net ruby
MASTER_SITES=	http://savannah.gnu.org/download/ruby-radius/ruby-radius.pkg/%SUBDIR%/
MASTER_SITE_SUBDIR=	${PORTVERSION}
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER=	knu@FreeBSD.org
COMMENT=	A Ruby module that provides an interface to the RADIUS protocol

USE_RUBY=	yes

RUBY_SHEBANG_FILES=	${WRKSRC}/examples/*

NO_BUILD=	yes

DOCS=		README doc/*

do-install:
	cd ${WRKSRC}; ${RUBY} install.rb
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
	${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
	${MKDIR} ${RUBY_MODEXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud