summaryrefslogtreecommitdiffstats
path: root/devel/libffi/Makefile
blob: 4eb02490c56f7dacf8536852bb0f74589e213a8d (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
# New ports collection makefile for:    libffi
# Date created:         14, June, 1998
# Whom:             Horance Chou <horance@freedom.ie.cycu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   libffi
PORTVERSION=    3.0.9
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   ftp://sourceware.org/pub/libffi/

MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT=    Foreign Function Interface

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USE_GNOME=  gnomehack
USE_PKGCONFIG=  build
PLIST_SUB=  PORTVERSION=${PORTVERSION}

INFO=       libffi

MAN3=       ffi.3 ffi_call.3 ffi_prep_cif.3

post-install:
    @${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffi.h ${PREFIX}/include/
    @${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffitarget.h ${PREFIX}/include/

.include <bsd.port.mk>