summaryrefslogtreecommitdiffstats
path: root/net/ruby-gserver/Makefile
blob: c6c01edc35f4931401693dd06acf17eac21195c7 (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
# New ports collection makefile for:	GServer.rb
# Date created:		12 August 2001
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	gserver
PORTVERSION=	1.1
CATEGORIES=	net ruby
MASTER_SITES=	http://www.rogare.com/downloads/Ruby/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	GServer
DIST_SUBDIR=	ruby

MAINTAINER=	knu@FreeBSD.org

USE_ZIP=	yes
USE_RUBY=	yes
RUBY_NO_BUILD_DEPENDS=	yes

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

do-install:
	${INSTALL_DATA} ${WRKSRC}/GServer.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/HttpEchoServer.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endif

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