blob: cd1463e6442039116917de166d519a7fb4b2d789 (
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: thrift
# Date created: 27 September 2007
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= thrift
PORTVERSION= 20090622
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>
|