freebsd-ports/math/cantor/Makefile
Max Brazhnikov 0ea52f99b4 KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!
USE_KDE4=kdehier component has been deprecated, new components added:
 baloo			- Baloo core libraries
 baloo-widgets		- Baloo widgets library
 kfilemetadata		- KDE library for extracting file metadata

New ports:
  graphics/kqtquickcharts	- QtQuick plugin to render interactive charts
  misc/artikulate		- Pronunciation trainer for KDE
				(not usable currently, links to both
				GStreamer 1.x and 0.10.x via dependencies)
  sysutils/baloo[-widgets]	- KDE framework for searching and
				managing user metadata
  sysutils/kfilemetadata	- Library for extracting file metadata

l10n ports:
- Farsi (Persian) and Indonesian translations has been readded
- Vietnamese didn't pass threshold for inclusion into release

astro/kstars:
- switch dependency from math/eigen2 to math/eigen3
- add PYKDE option for updating supernovae data

deskutils/kdepim4:
- update dependencies: add libkgapi and baloo,
  remove now needless clucene, link-grammar, strigi
- add patch to fix build with gcc42
- update COMMENT and description for all KDE PIM ports

devel/ruby-krossruby:
- remove BROKEN, it builds with ruby 2.x now

editors/kate:
- add patch to disable memory-hungry build of the kate tests [1]

graphics/okular:
- add dependency on graphics/libkscreen

math/cantor:
- add optional dependency on lang/luajit for LuaJIT backend
- fix gfortran detection [2]

misc/kdehier4:
- adapt to new pkg world. Now the purpose of kdehier4 only
  to link some stuff between KDE4_PREFIX and LOCALBASE.

science/kalzium:
- switch dependency from math/eigen2 to math/eigen3
- add dependence on science/chemical-mime-data

x11-themes/kdeartwork4
- switch dependency from math/eigen2 to math/eigen3

among other changes:
- drop deprecated USE_KDE4=kdehier
- drop @dirrm from plist
- clean up pkg-descr
- convert to options helpers
- other portlint fixes

The area51 repository features commits by alonso, rakuco and myself.

PR:		187150 [1]
Reported by:	pe.freethread@live.com
Patch by:	Tobias Berner <tcberner@gmail.com>

PR:		180674 [2]
Reported by:	torsten.eichstaedt@web.de

PR:		194316
Exp-run:	antoine
2014-10-19 15:57:27 +00:00

51 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= cantor
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= math kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE 4 frontend to mathematical software
LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre \
libqalculate.so:${PORTSDIR}/math/libqalculate \
libanalitza.so:${PORTSDIR}/math/analitza
USE_KDE4= kdelibs kdeprefix automoc4
USES= cmake:outsource pkgconfig python:2 tar:xz
USE_QT4= corelib qtestlib_build xml xmlpatterns \
moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SAGE SCILAB
OPTIONS_SUB= yes # R LUAJIT
LUAJIT_DESC= Build LuaJIT backend and install LuaJIT
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit
MAXIMA_DESC= Install Maxima
MAXIMA_RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima
OCTAVE_DESC= Install Octave
OCTAVE_RUN_DEPENDS= octave:${PORTSDIR}/math/octave
R_DESC= Build R backend and install R
R_BUILD_DEPENDS= R:${PORTSDIR}/math/R
R_RUN_DEPENDS= R:${PORTSDIR}/math/R
# Required to set CFLAGS for -lgfortran.
R_USES= fortran
R_CMAKE_OFF= -DWITH_R:BOOL=FALSE
SAGE_DESC= Install Sage
SAGE_RUN_DEPENDS= sage:${PORTSDIR}/math/sage
SCILAB_DESC= Install Scilab
SCILAB_RUN_DEPENDS= scilab:${PORTSDIR}/math/scilab
post-patch:
${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \
${WRKSRC}/cmake/FindR.cmake
.include <bsd.port.mk>