summaryrefslogtreecommitdiffstats
path: root/multimedia/libdvbpsi/Makefile
blob: 13feba4807ce08a8b36b8b187483580e2cb9b0e2 (plain)
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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	libdvbpsi
PORTVERSION=	0.2.2
CATEGORIES=	multimedia
MASTER_SITES=	http://download.videolan.org/pub/libdvbpsi/%SUBDIR%/
MASTER_SITE_SUBDIR=	${PORTVERSION}

MAINTAINER=	multimedia@FreeBSD.org
COMMENT=	A library for MPEG TS and DVB PSI tables decoding and generation

LICENSE=	LGPL21

USE_BZIP2=	yes
USES=	pathfix
USE_AUTOTOOLS=	libtool
GNU_CONFIGURE=	yes
.if defined(WITH_DEBUG)
CONFIGURE_ARGS=		--enable-debug
.else
CONFIGURE_ARGS=		--enable-release
.endif
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-Wall|$${CFLAGS}|g ; \
		 s|-O6||g' ${WRKSRC}/configure

regression-test:
	@(cd ${WRKSRC}/misc && ./test_dr)

.include <bsd.port.mk>
OpenPOWER on IntegriCloud