# $OpenBSD: Makefile,v 1.9 2009/04/14 19:50:47 kili Exp $ COMMENT= free H264/AVC encoder V= 20090204 DISTNAME= x264-snapshot-${V}-2245 PKGNAME= x264-${V} CATEGORIES= multimedia MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ EXTRACT_SUFX= .tar.bz2 SHARED_LIBS= x264 3.0 HOMEPAGE= http://www.videolan.org/developers/x264.html MAINTAINER= Brad Smith # GPLv2+ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c m pthread USE_GMAKE= Yes CONFIGURE_STYLE= simple CONFIGURE_ENV= API=${LIBx264_VERSION} CONFIGURE_ARGS+=--disable-mp4-output \ --prefix=${PREFIX} .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" BUILD_DEPENDS+= ::devel/yasm .endif NO_REGRESS= Yes .include .if ${NO_SHARED_LIBS:L} == "no" CONFIGURE_ARGS+=--enable-shared \ --enable-pic .endif