aboutsummaryrefslogblamecommitdiff
path: root/devel/rubygem-thrift/Makefile
blob: 1174d6293f9837e9a371e7bed30dae1e7c06947f (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                   
                     
                 











                                                               





                                                                         




                                                                           
# New ports collection makefile for:	thrift
# Date created:	   27 September 2007
# Whom:		   Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=	thrift
PORTVERSION=	0.3.0
PORTEPOCH=	1
CATEGORIES=	devel
PKGNAMEPREFIX=	ruby-
DISTFILES=

MAINTAINER=	skv@FreeBSD.org
COMMENT=	Ruby interface to thrift

BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract

USE_RUBY=	yes
USE_RUBY_SETUP=	yes

# XXX: Because this port will call ruby again to build binary extensions,
# it is not suitable for building when PREFIX != LOCALBASE.
# This seems to be a Ruby limitation, and the following does not help:
#USE_RUBY_EXTCONF=	yes
#RUBY_EXTCONF_SUBDIRS=	ext

post-extract:
	@${LN} -sfh \
	`cd ${PORTSDIR}/devel/thrift && ${MAKE} -V WRKSRC`/lib/rb ${WRKSRC}

.include <bsd.port.mk>