bacfcfd148
in certain environments/sh versions. Reported & submitted by: Steven Friedrich <FreeBSD@insightbb.com>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: xine_artsplugin
|
|
# Date created: July 09 2004
|
|
# Whom: Michael Nottebrock <lofi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xine_artsplugin
|
|
PORTVERSION= ${KDE_VERSION}
|
|
CATEGORIES= multimedia kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
|
|
PKGNAMEPREFIX= kdemultimedia-
|
|
DISTNAME= kdemultimedia-${PORTVERSION}
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Xine-based multimedia backend for KDE
|
|
|
|
EXTRA_PATCHES= ${.CURDIR}/../../multimedia/kdemultimedia3/files/patch-configure
|
|
|
|
LIB_DEPENDS+= xine:${PORTSDIR}/multimedia/libxine
|
|
|
|
CONFLICTS= kdemultimedia-3.1.* kdemultimedia-3.2.[0-3]
|
|
|
|
USE_KDELIBS_VER=3
|
|
PREFIX= ${KDE_PREFIX}
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
WRKSRC= ${WRKDIR}/kdemultimedia-${PORTVERSION}
|
|
INSTALLS_SHLIB= yes
|
|
USE_REINPLACE= yes
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/g' \
|
|
-e 's/-lxine.*$$LIBS/-lxine $$LIBS ${PTHREAD_LIBS}/g' \
|
|
-e 's|-lc_r|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
${ECHO_CMD} "xine_artsplugin" > ${WRKSRC}/inst-apps
|
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
|
.include <bsd.port.mk>
|