aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libdvbpsi/Makefile
blob: 0fc50cb7630eb8eb2642019fc016524c2fab9b34 (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
35
36
37
# ex:ts=8
# Ports collection makefile for:    libdvbpsi
# Date created:         Aug 8, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

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

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

USE_DOS2UNIX=   yes
USE_BZIP2=  yes
USE_AUTOTOOLS=  libtool:15
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>