freebsd-ports/multimedia/libfame/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

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