diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-11 01:27:37 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-11 01:27:37 +0000 |
commit | 461f3c5adb635525af6de102321df3e6288bfb1c (patch) | |
tree | 2025e3327a038c580b6f13bdc201e220e2077bb4 /multimedia/xine_artsplugin/Makefile | |
parent | 5036b1c6d43d4a6652f933702bfcc8b3553fddfd (diff) | |
download | ports-461f3c5adb635525af6de102321df3e6288bfb1c.tar.gz ports-461f3c5adb635525af6de102321df3e6288bfb1c.zip |
Factor out all but one of the build switches of the KDE main module ports
into separate ports. The OPTIONS will remain as of yet and trigger dependencies
now, for easy transition.
Update KOffice to version 1.3.2.
Add patches to fix a number of issues, including:
- fix kxkb on Xorg
- fix kdemultimedia WITH_MPEGLIB (now mpeglib_artsplug) compilation on gcc 3.4.2
with optimizations greater than -O
Add security related patches and entries to portaudit.txt.
Notes
Notes:
svn path=/head/; revision=115880
Diffstat (limited to 'multimedia/xine_artsplugin/Makefile')
-rw-r--r-- | multimedia/xine_artsplugin/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/multimedia/xine_artsplugin/Makefile b/multimedia/xine_artsplugin/Makefile new file mode 100644 index 000000000000..338ae17eca66 --- /dev/null +++ b/multimedia/xine_artsplugin/Makefile @@ -0,0 +1,46 @@ +# 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}/src +PKGNAMEPREFIX= kdemultimedia- +DISTNAME= kdemultimedia-${PORTVERSION} +DIST_SUBDIR= KDE + +MAINTAINER= kde@FreeBSD.org +COMMENT= Xine-based multimedia backend for KDE + +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 + +post-configure: + ${REINPLACE_CMD} -e '/^XINE_CFLAGS/s/-D_THREAD_SAFE//g' \ + -e 's/-pthread/${PTHREAD_LIBS}/g' \ + ${WRKSRC}/xine_artsplugin/Makefile + +.include "${.CURDIR}/../../x11/kde3/Makefile.kde" +.include <bsd.port.mk> |