2003-04-04 03:32:05 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: libdvbpsi
|
|
|
|
# Date created: Aug 8, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libdvbpsi
|
2008-02-28 01:40:55 +01:00
|
|
|
PORTVERSION= 0.1.6
|
2003-04-04 03:32:05 +02:00
|
|
|
CATEGORIES= multimedia
|
2004-01-03 13:26:18 +01:00
|
|
|
MASTER_SITES= http://download.videolan.org/pub/videolan/libdvbpsi/%SUBDIR%/
|
2003-07-30 20:51:46 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
2008-02-28 01:40:55 +01:00
|
|
|
DISTNAME= ${PORTNAME}5-${PORTVERSION}
|
2003-04-04 03:32:05 +02:00
|
|
|
|
2006-06-09 20:00:35 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2003-04-04 03:32:05 +02:00
|
|
|
COMMENT= A library for MPEG TS and DVB PSI tables decoding and generation
|
|
|
|
|
2008-02-28 01:40:55 +01:00
|
|
|
USE_DOS2UNIX= yes
|
|
|
|
USE_BZIP2= yes
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-02-28 01:40:55 +01:00
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
CONFIGURE_ARGS= --enable-debug
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --enable-release
|
|
|
|
.endif
|
2007-03-26 23:35:04 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-04-04 03:32:05 +02:00
|
|
|
|
2003-07-30 20:51:46 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-Wall|$${CFLAGS}|g ; \
|
|
|
|
s|-O6||g' ${WRKSRC}/configure
|
|
|
|
|
2008-02-28 01:40:55 +01:00
|
|
|
regression-test:
|
|
|
|
@(cd ${WRKSRC}/misc && ./test_dr)
|
|
|
|
|
2003-04-04 03:32:05 +02:00
|
|
|
.include <bsd.port.mk>
|