summaryrefslogtreecommitdiffstats
path: root/multimedia/xine_d5d_plugin/Makefile
blob: 068768b3bc01c1e9e1586c3d7c4f356cdb9af28f (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
34
35
36
37
38
39
# New ports collection makefile for:    xine_d5d_plugin
# Date created:         24 Jan 2002
# Whom:                 MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#

PORTNAME=	xine_d5d_plugin
PORTVERSION=	0.2.7
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://debianlinux.net/ \
		http://hermes.homelinux.net/xine/
DISTNAME=	xine-d5d-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	nobutaka@FreeBSD.org

LIB_DEPENDS=	xine.2:${PORTSDIR}/graphics/libxine \
		dvdread.2:${PORTSDIR}/graphics/libdvdread

USE_AUTOMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
		THREAD_LIBS="${PTHREAD_LIBS}"
USE_X_PREFIX=	yes
INSTALLS_SHLIB=	yes

post-patch:
	@${PERL} -pi -e \
		's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
		 s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
		 s|-L/usr/local/lib||g ; \
		 s|-I/usr/local/include||g' ${WRKSRC}/configure

post-install:
	@${CAT} ${PKGMESSAGE}

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