summaryrefslogtreecommitdiff
path: root/multimedia/libdvbpsi/Makefile
blob: 8b17019b894409b5315fe047a6118c122a0936f3 (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
# 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

NO_STAGE=	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>