2002-03-24 20:13:13 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: libfame
|
|
|
|
# Date created: Mar 23, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libfame
|
2004-02-25 09:33:37 +01:00
|
|
|
PORTVERSION= 0.9.1
|
2011-01-28 13:50:21 +01:00
|
|
|
PORTREVISION= 3
|
2003-04-04 03:38:40 +02:00
|
|
|
CATEGORIES= multimedia
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/fame/${PORTNAME}/${PORTVERSION}
|
2002-03-24 20:13:13 +01:00
|
|
|
|
2006-06-09 20:59:20 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= A video encoding library
|
2002-03-24 20:13:13 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-03-26 23:35:04 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-03-24 20:13:13 +01:00
|
|
|
|
|
|
|
MAN3= fame_close.3 fame_encode_frame.3 fame_get_object.3 fame_init.3 \
|
2002-05-24 05:43:44 +02:00
|
|
|
fame_open.3 fame_register.3 fame_unregister.3 fame_encode_slice.3 \
|
|
|
|
fame_start_frame.3 fame_end_frame.3
|
2002-03-24 20:13:13 +01:00
|
|
|
|
2012-05-30 14:38:59 +02:00
|
|
|
OPTIONS_DEFINE= SSE MMX
|
|
|
|
OPTIONS_DEFAULT= MMX
|
2004-08-21 00:38:41 +02:00
|
|
|
|
2012-05-30 14:38:59 +02:00
|
|
|
SSE_DESC= "SSE optimized routines (no effect in this release)"
|
2004-08-21 00:38:41 +02:00
|
|
|
|
2012-05-30 14:38:59 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MSSE}
|
2004-08-21 00:38:41 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-sse
|
2004-02-28 14:10:27 +01:00
|
|
|
.endif
|
|
|
|
|
2012-05-30 14:38:59 +02:00
|
|
|
.if empty(PORT_OPTIONS:MMMX)
|
2004-08-21 00:38:41 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-mmx
|
2004-02-28 14:10:27 +01:00
|
|
|
.endif
|
|
|
|
|
2005-06-02 22:28:41 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
|
|
${WRKSRC}/configure
|
2011-01-28 13:50:21 +01:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|AC_DEFUN(AM_PATH_LIBFAME|AC_DEFUN([AM_PATH_LIBFAME]|g' \
|
|
|
|
${WRKSRC}/libfame.m4 ${WRKSRC}/libfame.m4.in
|
2005-06-02 22:28:41 +02:00
|
|
|
|
2012-05-30 14:38:59 +02:00
|
|
|
.include <bsd.port.mk>
|