summaryrefslogtreecommitdiff
path: root/net/ruby-socketproxy/Makefile
blob: 60b3f43f3d4c6577fe1cd90deb69b4267906f487 (plain) (blame)
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:	Ruby/TCPSocketPipe
# Date created:		20 July 2001
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	tcpsocketpipe
PORTVERSION=	1.8
CATEGORIES=	net ruby
MASTER_SITES=	http://www.jin.gr.jp/~nahi/Ruby/TCPSocketPipe/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	TCPSocketPipe-${PORTVERSION:S/./_/g}
DIST_SUBDIR=	ruby

MAINTAINER=	knu@FreeBSD.org

RUN_DEPENDS=	${RUBY_SITELIBDIR}/application.rb:${PORTSDIR}/sysutils/ruby-devel-logger \
		${RUBY_SITELIBDIR}/dump.rb:${PORTSDIR}/converters/ruby-dump.rb

USE_RUBY=	yes

NO_BUILD=	yes

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

.include <bsd.port.mk>