blob: 884315dfe21f00f28cc6d53fc18747f733161b91 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
# $FreeBSD$
PORTNAME= dyncall
DISTVERSION= 1.2
CATEGORIES= devel
MASTER_SITES= https://www.dyncall.org/r${DISTVERSION}/ \
http://www.potion-studios.com/
MAINTAINER= tphilipp@potion-studios.com
COMMENT= Highly dynamic multi-platform foreign function call interface library
LICENSE= ISCL
BROKEN_riscv64= fails to compile: dyncall_callvm.c:75:4: unsupported platform
HAS_CONFIGURE= yes
CFLAGS+= -fPIC
# There is no install target in the BSD makefile for this version of the dyncall
# library, so install it manually.
.include <bsd.port.pre.mk>
do-install:
${INSTALL_DATA} \
${WRKSRC}/dyncall/dyncall_value.h \
${WRKSRC}/dyncall/dyncall_macros.h \
${WRKSRC}/dyncall/dyncall_callf.h \
${WRKSRC}/dyncall/dyncall_types.h \
${WRKSRC}/dyncall/dyncall_signature.h \
${WRKSRC}/dyncall/dyncall_config.h \
${WRKSRC}/dyncall/dyncall.h \
${WRKSRC}/dyncallback/dyncall_alloc_wx.h \
${WRKSRC}/dyncallback/dyncall_callback.h \
${WRKSRC}/dyncallback/dyncall_args.h \
${WRKSRC}/dynload/dynload.h \
${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} \
${WRKSRC}/dyncall/libdyncall_s.a \
${WRKSRC}/dyncallback/libdyncallback_s.a \
${WRKSRC}/dynload/libdynload_s.a \
${STAGEDIR}${PREFIX}/lib
${INSTALL_MAN} \
${WRKSRC}/dyncall/dyncall.3 \
${WRKSRC}/dyncallback/dyncallback.3 \
${WRKSRC}/dynload/dynload.3 \
${STAGEDIR}${MAN3PREFIX}/man/man3
.include <bsd.port.post.mk>
|