aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rubygem-ffi/Makefile
blob: 45ed176479aab334eb164c71cc2e77f898336873 (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
# New ports collection makefile for:   rubygem-ffi
# Date created:    28 April 2010
# Whom: Christoph Kick
#
# $FreeBSD$
#

PORTNAME=   ffi
PORTVERSION=    1.0.0
CATEGORIES= devel rubygems
MASTER_SITES=   RG

MAINTAINER= ruby@FreeBSD.org
COMMENT=    Extension for dynamic libraries & binding functions

USE_RUBY=   yes
USE_RAKE=   yes
USE_RUBYGEMS=   yes
RUBYGEM_AUTOPLIST=  yes

.include <bsd.port.pre.mk>

.if ${RUBY_VER} == 1.8
PLIST_FILES=    ${GEM_LIB_DIR}/ext/ffi_c/libffi/include/ffitarget.h \
                ${GEM_LIB_DIR}/ext/ffi_c/libffi/.libs/libffi.so \
                ${GEM_LIB_DIR}/ext/ffi_c/libffi/.libs/libffi.la \
                ${GEM_LIB_DIR}/ext/ffi_c/libffi/.libs/libffi_convenience.la
.endif

.include <bsd.port.post.mk>