1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/rubygem-ffi/Makefile
Steve Wills e7c9b1bd62 - Fix PLIST with Ruby 1.9
PR:		ports/156158
Approved by:	Christoph Kick <kick.christoph at googlemail.com> (maintainer)
2011-04-06 00:10:45 +00:00

31 lines
702 B
Makefile

# 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= kick.christoph@googlemail.com
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>