mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
63ff0b60db
The kde@ team presents KDE SC 4.14.3, the last planed release of the KDE SC 4 series. In addition to the updates provided by the KDE SC developers, this update also addresses numerous FreeBSD and PORTS specific issues, found and solved by the kde@ team and area51 testers, most notorously Tobias C. Berner <tcberner@gmail.com> PR: 197751 PR: 197871 PR: 184996 Reviewed by: rakuco (mentor) Differential: https://reviews.freebsd.org/D1950
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= perlkde
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
CATEGORIES= devel kde perl5
|
|
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
|
|
PKGNAMEPREFIX= p5-
|
|
DIST_SUBDIR= KDE/${PORTVERSION}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Perl bindings for KDE
|
|
|
|
USE_KDE4= kdeprefix perlqt smokekde automoc4
|
|
USE_QT4= network opengl sql svg xml \
|
|
qmake_build moc_build uic_build rcc_build
|
|
USES= cmake:outsource compiler:c++11-lib perl5 tar:xz
|
|
|
|
# Respect PREFIX
|
|
CMAKE_ARGS+= -DCUSTOM_PERL_SITE_ARCH_DIR=${PREFIX}/${SITE_ARCH_REL}
|
|
|
|
# Fix build PREFIX != KDE4_PREFIX
|
|
CMAKE_ARGS+= -DSmoke_DIR=${KDE4_PREFIX}/lib/cmake/smoke \
|
|
-DPerlQt_DIR=${KDE4_PREFIX}/share/perlqt/cmake \
|
|
-DOkular_DIR=${KDE4_PREFIX}/lib/cmake/Okular
|
|
|
|
OPTIONS_DEFINE= ATTICA
|
|
ATTICA_DESC= Bindings for libattica (may crash build)
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MATTICA}
|
|
.if exists(${KDE4_PREFIX}/lib/libsmokekdecore.so) && \
|
|
!exists(${KDE4_PREFIX}/lib/libsmokeattica.so)
|
|
IGNORE= requires devel/smokekde built with ATTICA option
|
|
.endif
|
|
PLIST_SUB+= ATTICA=""
|
|
.else
|
|
CMAKE_ARGS+= -DWITH_LibAttica:BOOL=FALSE
|
|
PLIST_SUB+= ATTICA="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|