Lines 5-17
PORTREVISION= 1
Link Here
|
5 |
CATEGORIES= multimedia |
5 |
CATEGORIES= multimedia |
6 |
|
6 |
|
7 |
MAINTAINER= kde@FreeBSD.org |
7 |
MAINTAINER= kde@FreeBSD.org |
8 |
COMMENT= 2D animation software |
8 |
COMMENT= Open-source full-featured 2D animation creation software |
9 |
|
9 |
|
|
|
10 |
LICENSE= GPLv2+ |
10 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
11 |
|
12 |
|
12 |
BUILD_DEPENDS= boost-libs>0:devel/boost-libs |
13 |
BUILD_DEPENDS= boost-libs>0:devel/boost-libs |
13 |
LIB_DEPENDS= libgslcblas.so:math/gsl \ |
14 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
14 |
libjson-c.so:devel/json-c \ |
|
|
15 |
liblz4.so:archivers/liblz4 \ |
15 |
liblz4.so:archivers/liblz4 \ |
16 |
liblzo2.so:archivers/lzo2 \ |
16 |
liblzo2.so:archivers/lzo2 \ |
17 |
libmypaint.so:graphics/libmypaint \ |
17 |
libmypaint.so:graphics/libmypaint \ |
Lines 19-34
LIB_DEPENDS= libgslcblas.so:math/gsl \
Link Here
|
19 |
libpng.so:graphics/png \ |
19 |
libpng.so:graphics/png \ |
20 |
libsuperlu.so:math/superlu \ |
20 |
libsuperlu.so:math/superlu \ |
21 |
libturbojpeg.so:graphics/libjpeg-turbo |
21 |
libturbojpeg.so:graphics/libjpeg-turbo |
|
|
22 |
RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:multimedia/ffmpeg |
22 |
|
23 |
|
23 |
USES= cmake:noninja compiler:c++11-lang gettext-runtime gl \ |
24 |
USES= blaslapack:openblas cmake:noninja compiler:c++11-lang \ |
24 |
gnome jpeg pkgconfig qt:5 |
25 |
gl gnome jpeg pkgconfig qt:5 |
25 |
USE_GITHUB= yes |
26 |
USE_GITHUB= yes |
26 |
USE_GL= gl glew glu glut |
27 |
USE_GL= gl glew glu glut |
27 |
USE_GNOME= glib20 |
|
|
28 |
USE_QT= core gui multimedia network opengl printsupport \ |
28 |
USE_QT= core gui multimedia network opengl printsupport \ |
29 |
script serialport svg widgets xml \ |
29 |
script serialport svg widgets xml \ |
30 |
buildtools_build linguisttools_build qmake_build |
30 |
buildtools_build linguisttools_build qmake_build |
31 |
|
31 |
CMAKE_ARGS= -DWITH_SYSTEM_LZO:BOOL=ON \ |
|
|
32 |
-DWITH_SYSTEM_SUPERLU:BOOL=ON |
32 |
CMAKE_SOURCE_PATH= ${WRKSRC}/toonz/sources |
33 |
CMAKE_SOURCE_PATH= ${WRKSRC}/toonz/sources |
|
|
34 |
INSTALLS_ICONS= yes |
35 |
|
36 |
OPTIONS_SINGLE= BLASLIB |
37 |
OPTIONS_SINGLE_BLASLIB= CBLAS GSLCBLAS NETLIB OPENBLAS |
38 |
OPTIONS_DEFAULT= OPENBLAS |
39 |
|
40 |
CBLAS_LIB_DEPENDS= libcblas.so:math/cblas |
41 |
CBLAS_VARS= BLASLIBS="cblas" |
42 |
CBLAS_DESC= C interface to the legacy Fortran BLAS |
43 |
GSLCBLAS_LIB_DEPENDS= libgslcblas.so:math/gsl |
44 |
GSLCBLAS_VARS= BLASLIBS="gslcblas" |
45 |
GSLCBLAS_DESC= The GNU Scientific Library - mathematical libs |
46 |
NETLIB_USES= blaslapack:netlib |
47 |
NETLIB_VARS= BLASLIBS="blas" |
48 |
OPENBLAS_USES= blaslapack:openblas |
49 |
OPENBLAS_VARS= BLASLIBS="openblas" |
50 |
|
51 |
.include <bsd.port.options.mk> |
52 |
|
53 |
.if defined(WITH_DEBUG) |
54 |
CXXFLAGS+= -DDEBUG -g3 -ggdb |
55 |
.else |
56 |
CXXFLAGS+= -DNDEBUG |
57 |
.endif |
58 |
|
59 |
post-extract: |
60 |
${FIND} ${WRKSRC} -name '*.gitkeep' -delete |
61 |
|
62 |
post-patch: |
63 |
@${REINPLACE_CMD} -e "s|find_library(OPENBLAS_LIB NAMES.*|find_library(OPENBLAS_LIB NAMES ${BLASLIBS})|g" \ |
64 |
${WRKSRC}/toonz/sources/CMakeLists.txt |
33 |
|
65 |
|
34 |
.include <bsd.port.mk> |
66 |
.include <bsd.port.mk> |