1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/dyncall/Makefile
Dmitry Marakasov 4d3ca9fac1 - Update to 0.3, mark more archs as unsupported
- While here, canonize identation and add tiny improvements (use PORTVERSION in MASTER_SITES url, no need to use full path in MAKEFILE)

PR:		131223
Submitted by:	Tassilo Philipp <tphilipp at potion-studios dot com> (maintainer)
2009-02-05 15:21:05 +00:00

46 lines
1.6 KiB
Makefile

# New ports collection makefile for: dyncall
# Date created: 05 April 2008
# Whom: Tassilo Philipp <tphilipp@potion-studios.com>
#
# $FreeBSD$
#
PORTNAME= dyncall
PORTVERSION= 0.3
CATEGORIES= devel
MASTER_SITES= http://www.dyncall.org/r${PORTVERSION}/
MAINTAINER= tphilipp@potion-studios.com
COMMENT= Highly dynamic multi-platform foreign function call interface library
MAN3= dyncall.3
HAS_CONFIGURE= yes
MAKEFILE= BSDmakefile
# There is no install target in the BSD makefile of version 0.3 of the dyncall library, so
# install it manually.
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64" || ${ARCH} == "ia64" || ${ARCH} == "alpha"
BROKEN= Does not install (unsupported architecture)
.endif
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.post.mk>