1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/p5-perlkde/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

42 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= perlkde
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 3
CATEGORIES= devel kde kde-kde4 perl5
PKGNAMEPREFIX= p5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Perl bindings for KDE
USES= cmake:outsource compiler:c++11-lib kde:4 perl5 tar:xz
USE_KDE= perlqt smokekde automoc4
USE_QT4= network opengl sql svg xml \
qmake_build moc_build uic_build rcc_build
# Respect PREFIX
CMAKE_ARGS+= -DCUSTOM_PERL_SITE_ARCH_DIR=${PREFIX}/${SITE_ARCH_REL}
# Fix build PREFIX != KDE_PREFIX
CMAKE_ARGS+= -DSmoke_DIR=${KDE_PREFIX}/lib/cmake/smoke \
-DPerlQt_DIR=${KDE_PREFIX}/share/perlqt/cmake \
-DOkular_DIR=${KDE_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(${KDE_PREFIX}/lib/libsmokekdecore.so) && \
!exists(${KDE_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>