freebsd-ports/devel/dyncall/Makefile
Fernando Apesteguía 94cadad06c Update devel/dyncall to 1.0
PR:	227737
Reported by:	tphilipp@potion-studios.com (maintainer)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D15213
2018-04-27 20:59:13 +00:00

50 lines
1.3 KiB
Makefile

# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
# $FreeBSD$
PORTNAME= dyncall
DISTVERSION= 1.0
CATEGORIES= devel
MASTER_SITES= http://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
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>