aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dyncall/Makefile
blob: fa957f42af3c71c8bbe2b18244070ccac5405b3f (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
# New ports collection makefile for: dyncall
# Date created:        05 April 2008
# Whom:                Tassilo Philipp <tphilipp@potion-studios.com>
#
# $FreeBSD$
#

PORTNAME=       dyncall
PORTVERSION=        0.2
CATEGORIES=     devel
MASTER_SITES=       http://www.dyncall.org/r0.2/

MAINTAINER=     tphilipp@potion-studios.com
COMMENT=        Highly dynamic multi-platform foreign function call interface library

MAN3=           dyncall.3
HAS_CONFIGURE=      yes

MAKEFILE=       ${WRKSRC}/BSDmakefile

# There is no install target in the BSD makefile of version 0.2 of the dyncall library, so
# install it manually.

do-install:
    ${CP} ${WRKSRC}/dyncall/dyncall.h           ${PREFIX}/include/dyncall.h
    ${CP} ${WRKSRC}/dyncall/dyncall_callf.h     ${PREFIX}/include/dyncall_callf.h
    ${CP} ${WRKSRC}/dyncall/dyncall_config.h    ${PREFIX}/include/dyncall_config.h
    ${CP} ${WRKSRC}/dyncall/dyncall_macros.h    ${PREFIX}/include/dyncall_macros.h
    ${CP} ${WRKSRC}/dyncall/dyncall_signature.h ${PREFIX}/include/dyncall_signature.h
    ${CP} ${WRKSRC}/dyncall/dyncall_types.h     ${PREFIX}/include/dyncall_types.h
    ${CP} ${WRKSRC}/dyncall/dyncall_value.h     ${PREFIX}/include/dyncall_value.h
    ${CP} ${WRKSRC}/dynload/dynload.h           ${PREFIX}/include/dynload.h
    ${CP} ${WRKSRC}/dyncall/libdyncall_s.a      ${PREFIX}/lib/libdyncall_s.a
    ${CP} ${WRKSRC}/dynload/libdynload_s.a      ${PREFIX}/lib/libdynload_s.a
.for f3 in ${MAN3}
    ${INSTALL_MAN} ${WRKSRC}/doc/${f3} ${MAN3PREFIX}/man/man3
.endfor

.include <bsd.port.mk>