Add mingw32-libffi, the libffi library cross-compiled for MinGW32.
Feature safe: yes
This commit is contained in:
parent
e8ca316f5a
commit
2c4047483c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286865
5 changed files with 52 additions and 0 deletions
|
@ -1036,6 +1036,7 @@
|
|||
SUBDIR += mingw32-binutils
|
||||
SUBDIR += mingw32-directx
|
||||
SUBDIR += mingw32-gcc
|
||||
SUBDIR += mingw32-libffi
|
||||
SUBDIR += mingw32-libyaml
|
||||
SUBDIR += mingw32-pdcurses
|
||||
SUBDIR += mingw32-pthreads
|
||||
|
|
34
devel/mingw32-libffi/Makefile
Normal file
34
devel/mingw32-libffi/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
# New ports collection makefile for: mingw32-libffi
|
||||
# Date created: 5 December 2011
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libffi
|
||||
PORTVERSION= 3.0.9
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://sourceware.org/pub/libffi/
|
||||
PKGNAMEPREFIX= mingw32-
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
COMMENT= The libffi library cross-compiled for MinGW32
|
||||
|
||||
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
GNU_CONFIGURE_PREFIX= ${PREFIX}/mingw32
|
||||
CONFIGURE_ARGS= --host="mingw32" --enable-shared
|
||||
CC= ${PKGNAMEPREFIX}gcc
|
||||
CFLAGS= -O2
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,^INFO_DEPS[ \t]*=,#&,' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} \
|
||||
${PREFIX}/mingw32/lib/libffi-${PORTVERSION}/include/*.h \
|
||||
${PREFIX}/mingw32/include/
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/mingw32-libffi/distinfo
Normal file
2
devel/mingw32-libffi/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (libffi-3.0.9.tar.gz) = 589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452
|
||||
SIZE (libffi-3.0.9.tar.gz) = 731719
|
3
devel/mingw32-libffi/pkg-descr
Normal file
3
devel/mingw32-libffi/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
This is the libffi library cross-compiled for MinGW32.
|
||||
|
||||
WWW: http://sources.redhat.com/libffi/
|
12
devel/mingw32-libffi/pkg-plist
Normal file
12
devel/mingw32-libffi/pkg-plist
Normal file
|
@ -0,0 +1,12 @@
|
|||
mingw32/bin/libffi-5.dll
|
||||
mingw32/include/ffi.h
|
||||
mingw32/include/ffitarget.h
|
||||
mingw32/lib/libffi-%%PORTVERSION%%/include/ffi.h
|
||||
mingw32/lib/libffi-%%PORTVERSION%%/include/ffitarget.h
|
||||
mingw32/lib/libffi.a
|
||||
mingw32/lib/libffi.dll.a
|
||||
mingw32/lib/libffi.la
|
||||
mingw32/lib/pkgconfig/libffi.pc
|
||||
@dirrm mingw32/lib/libffi-%%PORTVERSION%%/include
|
||||
@dirrm mingw32/lib/libffi-%%PORTVERSION%%
|
||||
@dirrmtry mingw32/lib/pkgconfig
|
Loading…
Reference in a new issue