Add mingw32-libyaml, the libyaml library cross-compiled for MinGW32.
Feature safe: yes
This commit is contained in:
parent
fbe859d4d6
commit
8cb6a609ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286863
6 changed files with 49 additions and 0 deletions
|
@ -1036,6 +1036,7 @@
|
|||
SUBDIR += mingw32-binutils
|
||||
SUBDIR += mingw32-directx
|
||||
SUBDIR += mingw32-gcc
|
||||
SUBDIR += mingw32-libyaml
|
||||
SUBDIR += mingw32-pdcurses
|
||||
SUBDIR += mingw32-pthreads
|
||||
SUBDIR += mingw32-zlib
|
||||
|
|
27
devel/mingw32-libyaml/Makefile
Normal file
27
devel/mingw32-libyaml/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
# New ports collection makefile for: mingw32-libyaml
|
||||
# Date created: 5 December 2011
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libyaml
|
||||
PORTVERSION= 0.1.4
|
||||
CATEGORIES= devel textproc
|
||||
MASTER_SITES= http://pyyaml.org/download/libyaml/
|
||||
PKGNAMEPREFIX= mingw32-
|
||||
DISTNAME= yaml-${PORTVERSION}
|
||||
DIST_SUBDIR= repacked
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
COMMENT= The libyaml 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"
|
||||
CC= ${PKGNAMEPREFIX}gcc
|
||||
CFLAGS= -O3 -DYAML_DECLARE_STATIC
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/mingw32-libyaml/distinfo
Normal file
2
devel/mingw32-libyaml/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (repacked/yaml-0.1.4.tar.gz) = 7bf81554ae5ab2d9b6977da398ea789722e0db75b86bffdaeb4e66d961de6a37
|
||||
SIZE (repacked/yaml-0.1.4.tar.gz) = 471759
|
11
devel/mingw32-libyaml/files/patch-include+yaml.h
Normal file
11
devel/mingw32-libyaml/files/patch-include+yaml.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- include/yaml.h.orig 2011-05-31 10:58:42.000000000 +0900
|
||||
+++ include/yaml.h 2011-12-05 02:54:28.221135420 +0900
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
/** The public API declaration. */
|
||||
|
||||
+#define YAML_DECLARE_STATIC
|
||||
+
|
||||
#ifdef _WIN32
|
||||
# if defined(YAML_DECLARE_STATIC)
|
||||
# define YAML_DECLARE(type) type
|
3
devel/mingw32-libyaml/pkg-descr
Normal file
3
devel/mingw32-libyaml/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
This is the libyaml library cross-compiled for MinGW32.
|
||||
|
||||
WWW: http://pyyaml.org/wiki/LibYAML
|
5
devel/mingw32-libyaml/pkg-plist
Normal file
5
devel/mingw32-libyaml/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
mingw32/include/yaml.h
|
||||
mingw32/lib/libyaml.a
|
||||
mingw32/lib/libyaml.la
|
||||
mingw32/lib/pkgconfig/yaml-0.1.pc
|
||||
@dirrmtry mingw32/lib/pkgconfig
|
Loading…
Reference in a new issue