1 # Created by: Bernhard Froehlich <decke@FreeBSD.org>
8 MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
9 http://ftp.heikorichter.name/pub/videolan/${PORTNAME}/${PORTVERSION}/
11 MAINTAINER= decke@FreeBSD.org
12 COMMENT= Free implementation of the DVB Common Scrambling Algorithm
17 INSTALL_TARGET= install-strip
21 .include <bsd.port.options.mk>
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
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
35 .include <bsd.port.mk>