forked from Lainports/freebsd-ports
Release 0.84.0:
core:
* Fix crash when converting from Unicode to ASCII-7
* Splash::scaleImageYdXu: Protect against crash if srcWidth is too big
* JBIG2Stream: fix potential crash in malformed documents
* JBIG2Stream: fix leak in reset() if called several times
* Internal code improvements
utils:
* pdfimages: Add error message if first page is larger then number of pages.
* pdfinfo: Improved paper size recognition
* pdfsig: Fix exit code when dumping signatures
* pdftocairo: Error out when even/odd selects 0 pages
* pdftohtml: Fix memory leak
* pdftoppm: Add an option to scale before rotate
* pdftoppm: Add -hide-annotations option
* pdftoppm: Error out when even/odd selects 0 pages
* pdftops: Improve -optimizecolorspace
qt5:
* Code cleanups
glib:
* Fix compiler warnings
Release 0.83.0
core:
* Improve when a file is recognized as Linearized
* Improve const-ness of the code
* Make code a bit more readable/maintanable
* Fix uninitialized memory uses in broken files
utils:
* pdffonts: Make code a bit more readable/maintanable
* pdftohtml: Make code a bit more readable/maintanable
qt5:
* Remove a bunch of unused internal functions
* trUtf8 -> tr (less warnings)
build system:
* make-glib-api-docs: switch to python3
PR: 243433
Exp-run by: antoine
56 lines
1.8 KiB
Makefile
56 lines
1.8 KiB
Makefile
# Created by: Kay Lehmann <kay_lehmann@web.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= labplot
|
|
PORTVERSION= 2.7.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= math kde
|
|
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Data plotting and function analysis tool by KDE
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libgsl.so:math/gsl
|
|
|
|
USES= bison cmake compiler:c++11-lang desktop-file-utils kde:5 qt:5 \
|
|
shared-mime-info tar:xz
|
|
USE_KDE= archive auth bookmarks codecs completion config configwidgets \
|
|
coreaddons crash ecm_build guiaddons i18n iconthemes itemviews \
|
|
jobwidgets kdelibs4support kio newstuff notifications parts \
|
|
service solid sonnet syntaxhighlighting textwidgets unitconversion \
|
|
widgetsaddons windowsystem xmlgui
|
|
USE_QT= concurrent core dbus gui network printsupport serialport \
|
|
sql svg widgets xml \
|
|
buildtools_build qmake_build
|
|
|
|
CMAKE_OFF= ENABLE_LIBCERF
|
|
|
|
DATADIR= ${PREFIX}/share/labplot2
|
|
|
|
OPTIONS_DEFINE= CANTOR FITS FFTW3 HDF5 NETCDF
|
|
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
|
|
|
|
CANTOR_DESC= Build with Cantor support
|
|
CANTOR_CMAKE_BOOL= ENABLE_CANTOR
|
|
CANTOR_LIB_DEPENDS= libcantorlibs.so:math/cantor \
|
|
libpoppler-qt5.so:graphics/poppler-qt5
|
|
FITS_DESC= Flexible Image Transport System Data Format (FITS) Library
|
|
FITS_CMAKE_BOOL= ENABLE_FITS
|
|
FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio
|
|
FFTW3_DESC= Build with FFTW support
|
|
FFTW3_CMAKE_BOOL= ENABLE_FFTW
|
|
FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3
|
|
HDF5_DESC= Build with HDF5 support
|
|
HDF5_CMAKE_BOOL= ENABLE_HDF5
|
|
HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5
|
|
NETCDF_DESC= Build with NetCDF support
|
|
NETCDF_CMAKE_BOOL= ENABLE_NETCDF
|
|
NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|