1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/devel/ruby-thrift/Makefile
Sergey Skvortsov cc31c91465 Update to 0.2.0
2009-12-21 18:40:15 +00:00

34 lines
783 B
Makefile

# New ports collection makefile for: thrift
# Date created: 27 September 2007
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= thrift
PORTVERSION= 0.2.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>