# Created by: Horance Chou # $FreeBSD$ PORTNAME= libffi PORTVERSION= 3.0.13 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SOURCEWARE MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= zeising@FreeBSD.org COMMENT= Foreign Function Interface LICENSE= MIT TEST_DEPENDS= runtest:${PORTSDIR}/misc/dejagnu USES= pathfix USE_LDCONFIG= yes GNU_CONFIGURE= yes OPTIONS_DEFINE= TESTS TESTS_DESC= Include tools for test suite .include .if ${PORT_OPTIONS:MTESTS} BUILD_DEPENDS:= ${TEST_DEPENDS} .endif INSTALL_TARGET= install-strip INFO= libffi PLIST_SUB= PORTVERSION=${PORTVERSION} post-install: @${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffi.h \ ${STAGEDIR}${PREFIX}/include/ @${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffitarget.h \ ${STAGEDIR}${PREFIX}/include/ regression-test: build @cd ${WRKSRC} && ${MAKE} check .include