1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/p5-perlkde/Makefile
Max Brazhnikov 24482eebf1 KDE/FreeBSD team presents KDE SC 4.10.1 ports!
- kdegames4 port has been split.
- kdeutils4-printer-applet and system-config-printer-kde have been
  replaced by print/kde4-print-manager.
- Recover misc/kde4-l10n-mr from attic.
- New USE_KDE4 components: kactivities, libkdegames, nepomuk-core,
  and nepomuk-widgets.
- Provide sharedmime component with magic: ports don't need to
  run update-mime-database themselves now.
- Switch some ports to out-of-source build.
- Update port comments.
- Adjust dependence on Qt4 components.
- x11/kde4 installs modern kdepim4 now.
- Remove redundant aspell and hspell from kdelibs4, both
  can be enabled in textproc/enchant if needed.
- Remove stale bits from bsd.kde4.mk

The area51 repository features commits by Schaich Alonso and myself.

Contributors:
- Tobias Berner
2013-03-27 11:55:25 +00:00

50 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= perlkde
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= devel kde perl5
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
PKGNAMEPREFIX= p5-
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Perl bindings for KDE
USE_XZ= yes
USE_PERL5= yes
# Build fails with system gcc
USE_GCC= 4.6+
USE_KDE4= kdehier kdeprefix perlqt smokekde automoc4
USE_QT4= network opengl sql svg xml \
qmake_build moc_build uic_build rcc_build
USES= cmake:outsource
MAKE_JOBS_SAFE= yes
# Respect PREFIX
CMAKE_ARGS+= -DCUSTOM_PERL_SITE_ARCH_DIR=${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}
# 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>