1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Fix build with KDE 4.5

Remove needless USE_LDCONFIG
Mark MAKE_JOBS_SAFE

PR:		ports/150494
Approved by:	Andriy Gapon (maintainer)
This commit is contained in:
Max Brazhnikov 2010-09-12 16:49:34 +00:00
parent b7e15fda30
commit c8386272d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261034
2 changed files with 7 additions and 4 deletions

View File

@ -7,28 +7,33 @@
PORTNAME= kplayer
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= multimedia kde
MASTER_SITES= SF
MAINTAINER= avg@icyb.net.ua
COMMENT= Movie player based on mplayer
BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
LATEST_LINK= ${PORTNAME}-kde4
USE_BZIP2= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
USE_CMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib qmake_build moc_build rcc_build uic_build
USE_KDE4= kdehier kdeprefix kdelibs automoc4
MAKE_JOBS_SAFE= yes
post-extract:
post-patch:
.for lang in da en es it pt sv
${REINPLACE_CMD} -e "s,HTML_INSTALL_DIR},HTML_INSTALL_DIR}/${lang} SUBDIR kplayer,g" \
${WRKSRC}/doc/${lang}/CMakeLists.txt
.endfor
#Fix build with kdelibs>=4.5.0
${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
${WRKSRC}/doc/*/index.docbook
.include <bsd.port.mk>

View File

@ -311,5 +311,3 @@ share/locale/zh_CN/LC_MESSAGES/kplayer.mo
@dirrm share/apps/kplayer/icons
@dirrm share/apps/kplayer
@dirrmtry share/apps/konqueror/servicemenus
@dirrmtry share/apps/konqueror
@dirrmtry share/applications/kde