freebsd-ports/multimedia/xine_d4d_plugin/Makefile
2002-05-25 02:51:37 +00:00

42 lines
1.0 KiB
Makefile

# 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.1
CATEGORIES= graphics
MASTER_SITES= http://worldzone.net/technology/captaincss/ \
http://debianlinux.net/
DISTFILES= d4d031.txt
MAINTAINER= gibbon@cocoa.freemail.ne.jp
LIB_DEPENDS= xine.0:${PORTSDIR}/graphics/libxine
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
THREAD_LIBS="${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes
do-extract:
(${MKDIR} ${WRKDIR}; \
cd ${WRKDIR}; \
${SH} ${DISTDIR}/${DISTFILES}; \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
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>