mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
1d16d53e19
A lot of KDE Ports share MASTERSITES, LICENSE and so one, as they are released as a bundle upstream, however, there was not really a clean way to share this information. Using these new categories, we can simplify the Makefiles for the diverse KDE ports. At the moment we support the virtual category * kde-kde4 In the future, this will be extended to * kde-frameworks * kde-plasma * kde-applications PR: 213406 Differential Revision: https://reviews.freebsd.org/D7645 Exp-run by : antoine Reviewed by: mat, rakuco Approved by: portmgr (mat), rakuco (mentor)
29 lines
679 B
Makefile
29 lines
679 B
Makefile
# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libkcompactdisc
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio kde kde-kde4
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= KDE library for interfacing with audio CDs
|
|
|
|
USES= cmake:outsource kde:4 tar:xz
|
|
USE_KDE= automoc4 kdelibs
|
|
USE_QT4= phonon moc_build qmake_build rcc_build uic_build
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= ALSA
|
|
|
|
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
|
|
|
post-patch-ALSA-off:
|
|
${REINPLACE_CMD} -e '/find_package(Alsa)/d' \
|
|
-e '/alsa_configure_file/d' ${WRKSRC}/CMakeLists.txt
|
|
|
|
post-configure-ALSA-off:
|
|
${TOUCH} ${CONFIGURE_WRKSRC}/config-alsa.h
|
|
|
|
.include <bsd.port.mk>
|