2013-09-08 16:50:34 +02:00
|
|
|
# Created by: Bernhard Froehlich <decke@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libdvbcsa
|
|
|
|
PORTVERSION= 1.1.0
|
2014-07-15 22:56:44 +02:00
|
|
|
PORTREVISION= 1
|
2013-09-08 16:50:34 +02:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
|
|
|
|
http://ftp.heikorichter.name/pub/videolan/${PORTNAME}/${PORTVERSION}/
|
|
|
|
|
|
|
|
MAINTAINER= decke@FreeBSD.org
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Free implementation of the DVB Common Scrambling Algorithm
|
2013-09-08 16:50:34 +02:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-07-15 22:56:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USES= libtool
|
2013-09-08 16:50:34 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2015-03-19 10:52:24 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
# Workaround for GCC in 9.x post r260075
|
|
|
|
# OSVERSION taken from r260135, the closest OSVERSION
|
|
|
|
.if ${OSVERSION} > 902505 && ${OSVERSION} < 1000000
|
|
|
|
CFLAGS+= -flax-vector-conversions
|
|
|
|
.endif
|
|
|
|
|
2014-07-15 22:56:44 +02:00
|
|
|
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}
|
|
|
|
CONFIGURE_ARGS+=--enable-sse2
|
|
|
|
.elif defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx}
|
|
|
|
CONFIGURE_ARGS+=--enable-mmx
|
|
|
|
.endif
|
2013-09-08 16:50:34 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|