blob: 3aed4f71467a9341b4f5da79042941baac43935c (
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
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= libyaml
PORTVERSION= 0.1.6
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 \
${LOCALBASE}/mingw32/include/stdlib.h:${PORTSDIR}/devel/${PKGNAMEPREFIX}bin-msvcrt
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/mingw32
CONFIGURE_ARGS= --host="mingw32"
CC= ${PKGNAMEPREFIX}gcc
CFLAGS= -O3 # Override CFLAGS for a cross-build
.include <bsd.port.mk>
|