aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xdvshow/Makefile
blob: d918f20c8522240c7ed79d901c5dcf4ba8c6411c (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
# New ports collection makefile for:    xdvshow
# Date created:             2003/05/13
# Whom:                 simokawa@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   xdvshow
PORTVERSION=    00.2003.09.03
PORTREVISION=   6
CATEGORIES= multimedia
MASTER_SITES=   http://www.sfc.wide.ad.jp/DVTS/software/xdvshow/
DISTNAME=   ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    DV/RTP viewer

LIB_DEPENDS=    dv.4:${PORTSDIR}/multimedia/libdv

PLIST_FILES=    bin/xdvshow
GNU_CONFIGURE=      YES
USE_AUTOTOOLS=  autoconf:262

post-patch:
    @${REINPLACE_CMD} \
        -e "s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g" \
        -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
        -e "s|/usr/X11R6|${LOCALBASE}|g" \
        ${WRKSRC}/configure.in
    ${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>