# Created by: Akinori MUSHA aka knu # $FreeBSD: head/devel/mingw32-libyaml/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= libyaml PORTVERSION= 0.1.6 PORTREVISION= 1 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:devel/${PKGNAMEPREFIX}gcc \ ${LOCALBASE}/mingw32/include/stdlib.h: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 USES= libtool .include