summaryrefslogtreecommitdiff
path: root/multimedia/libfame/Makefile
blob: d9ea6105ab01fb9c43dc2136497da38f3f2826b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ex:ts=8
# Ports collection makefile for:	libfame
# Date created:			Mar 23, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	libfame
PORTVERSION=	0.9.1
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	fame

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A video encoding library

USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB=	yes

.if defined(WITH_SSE)
CONFIGURE_ARGS+=	--enable-sse
.endif

.if defined(WITHOUT_MMX)
CONFIGURE_ARGS+=	--disable-mmx
.endif

CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

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

pre-everything::
.if !defined(WITH_SSE)
	@${ECHO_MSG} " You can enable SSE optimized routines by defining WITH_SSE."
	@${ECHO_MSG} ""
.endif

.if !defined(WITHOUT_MMX)
	@${ECHO_MSG} " You can disable MMX optimized routines by defining WITHOUT_MMX."
	@${ECHO_MSG} ""
.endif

.include <bsd.port.mk>