1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/multimedia/kplayer-kde4/Makefile
Mathieu Arnold 21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00

30 lines
788 B
Makefile

# Created by: Stefan Eßer <se@FreeBSD.org>
# $FreeBSD$
PORTNAME= kplayer
PORTVERSION= 0.7
PORTREVISION= 7
CATEGORIES= multimedia kde
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Movie player based on mplayer
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
USES= cmake gettext tar:bzip2
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
USE_KDE4= kdeprefix kdelibs automoc4
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -L${LOCALBASE}/kde4/lib -lsolid
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>