summaryrefslogblamecommitdiff
path: root/multimedia/xine_d4d_plugin/Makefile
blob: 860e0899fab3261921ff9a9c52032866da6a0ca0 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                    
                     
                          

                                                 
 

                                                             
                                           
                                           
 
                                                     


                           

                                                   

                   






                                                                            



                             
# New ports collection makefile for:    xine_d4d_plugin
# Date created:         28 Aug 2001
# Whom:                 HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp>
#
# $FreeBSD$
#

PORTNAME=	xine_d4d_plugin
PORTVERSION=	0.3.2
CATEGORIES=	multimedia
MASTER_SITES=	http://debianlinux.net/ \
		http://hermes.homelinux.net/xine/

FORBIDDEN=	Incompatible with the current version of xine

MAINTAINER=	gibbon@cocoa.freemail.ne.jp
COMMENT=	A dvd input plugin for xine

LIB_DEPENDS=	xine.4:${PORTSDIR}/multimedia/libxine

GNU_CONFIGURE=	yes
USE_X_PREFIX=		yes
CONFIGURE_ENV=	THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
		THREAD_LIBS="${PTHREAD_LIBS}"
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>