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
|
2006-02-23 11:40:44 +01:00
|
|
|
PORTREVISION= 2
|
2003-04-04 03:38:40 +02:00
|
|
|
CATEGORIES= multimedia
|
2002-03-24 20:13:13 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= fame
|
|
|
|
|
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
|
|
|
|
2007-02-01 03:42:05 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-03-24 20:13:13 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-02-25 09:33:37 +01:00
|
|
|
|
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
|
|
|
|
Fix configure to stop appending ``-march=i386'' to CFLAGS on i386.
Depending on other optimization options, compiler could get confused
into an internal error, and was, probably, building pessimized code
even when working.
Ensure warning-free build, while I'm here. Mark the SSE as having no
effect -- ``--enable-sse'' causes configure to add the HAS_SSE define
to CFLAGS, but nothing in the current release checks for that flag. Ha-ha.
There are SSE implementations of some parts of the code (they are just
no used), so, perhaps, someone can add another patch to make use of them,
when possible.
2005-07-13 01:41:42 +02:00
|
|
|
OPTIONS= SSE "SSE optimized routines (no effect in this release)" off \
|
2004-08-21 00:38:41 +02:00
|
|
|
MMX "MMX optimized routines" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_SSE)
|
|
|
|
CONFIGURE_ARGS+= --enable-sse
|
2004-02-28 14:10:27 +01:00
|
|
|
.endif
|
|
|
|
|
2004-08-21 00:38:41 +02:00
|
|
|
.if defined(WITHOUT_MMX)
|
|
|
|
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
|
|
|
|
|
2004-08-21 00:38:41 +02:00
|
|
|
.include <bsd.port.post.mk>
|