Update multimedia/py-subliminal to version 2.0.5
[dports.git] / multimedia / libdvbcsa / Makefile
1 # Created by: Bernhard Froehlich <decke@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       libdvbcsa
5 PORTVERSION=    1.1.0
6 PORTREVISION=   1
7 CATEGORIES=     multimedia
8 MASTER_SITES=   http://download.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
9                 http://ftp.heikorichter.name/pub/videolan/${PORTNAME}/${PORTVERSION}/
10
11 MAINTAINER=     decke@FreeBSD.org
12 COMMENT=        Free implementation of the DVB Common Scrambling Algorithm
13
14 LICENSE=        GPLv2
15
16 GNU_CONFIGURE=  yes
17 INSTALL_TARGET= install-strip
18 USES=           libtool
19 USE_LDCONFIG=   yes
20
21 .include <bsd.port.options.mk>
22
23 # Workaround for GCC in 9.x post r260075
24 # OSVERSION taken from r260135, the closest OSVERSION
25 .if ${OSVERSION} >  902505 && ${OSVERSION} < 1000000
26 CFLAGS+=        -flax-vector-conversions
27 .endif
28
29 .if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}
30 CONFIGURE_ARGS+=--enable-sse2
31 .elif defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx}
32 CONFIGURE_ARGS+=--enable-mmx
33 .endif
34
35 .include <bsd.port.mk>