|
Lines 3-9
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= darktable |
4 |
PORTNAME= darktable |
| 5 |
PORTVERSION= 2.6.2 |
5 |
PORTVERSION= 2.6.2 |
| 6 |
PORTREVISION= 3 |
6 |
PORTREVISION= 4 |
| 7 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
| 8 |
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ |
8 |
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ |
| 9 |
|
9 |
|
|
Lines 12-17
Link Here
|
| 12 |
|
12 |
|
| 13 |
LICENSE= GPLv3 |
13 |
LICENSE= GPLv3 |
| 14 |
|
14 |
|
|
|
15 |
ONLY_FOR_ARCHS= amd64 |
| 16 |
ONLY_FOR_ARCHS_REASON= uses SSE instructions and 64-bit address space |
| 17 |
|
| 15 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ |
18 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ |
| 16 |
xsltproc:textproc/libxslt \ |
19 |
xsltproc:textproc/libxslt \ |
| 17 |
po4a-translate:textproc/po4a |
20 |
po4a-translate:textproc/po4a |
|
Lines 25-39
Link Here
|
| 25 |
libsoup-2.4.so:devel/libsoup \ |
28 |
libsoup-2.4.so:devel/libsoup \ |
| 26 |
libtiff.so:graphics/tiff |
29 |
libtiff.so:graphics/tiff |
| 27 |
|
30 |
|
| 28 |
ONLY_FOR_ARCHS= amd64 |
|
|
| 29 |
ONLY_FOR_ARCHS_REASON= uses SSE instructions and 64-bit address space |
| 30 |
|
| 31 |
USES= cmake compiler:c++11-lib desktop-file-utils \ |
31 |
USES= cmake compiler:c++11-lib desktop-file-utils \ |
| 32 |
gl gnome jpeg pkgconfig sqlite tar:xz |
32 |
gl gnome jpeg pkgconfig sqlite tar:xz xorg |
| 33 |
USE_GL= glu |
33 |
USE_GL= glu |
| 34 |
USE_GNOME= cairo gtk30 intltool librsvg2 libxml2 |
34 |
USE_GNOME= cairo gtk30 intltool librsvg2 libxml2 |
| 35 |
USE_XORG= ice sm x11 xext xrandr |
35 |
USE_XORG= ice sm x11 xext xrandr |
| 36 |
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} |
36 |
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} |
|
|
37 |
|
| 37 |
INSTALLS_ICONS= yes |
38 |
INSTALLS_ICONS= yes |
| 38 |
|
39 |
|
| 39 |
OPTIONS_DEFINE= COLORD DOCS FLICKR GEO GPHOTO GRAPHMAGICK \ |
40 |
OPTIONS_DEFINE= COLORD DOCS FLICKR GEO GPHOTO GRAPHMAGICK \ |
|
Lines 99-113
Link Here
|
| 99 |
.include <bsd.port.pre.mk> |
100 |
.include <bsd.port.pre.mk> |
| 100 |
|
101 |
|
| 101 |
.if ${ARCH} == amd64 && ${CHOSEN_COMPILER_TYPE} == clang |
102 |
.if ${ARCH} == amd64 && ${CHOSEN_COMPILER_TYPE} == clang |
| 102 |
# Enable OpenMP support with Clang 6.0. |
103 |
LIB_DEPENDS+= libomp.so:devel/openmp |
| 103 |
LLVM_VER= 60 |
|
|
| 104 |
BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} |
| 105 |
|
| 106 |
CPP= clang-cpp${LLVM_VER} |
| 107 |
CC= clang${LLVM_VER} |
| 108 |
CXX= clang++${LLVM_VER} |
| 109 |
|
| 110 |
LIB_DEPENDS+= libomp.so:devel/llvm${LLVM_VER} |
| 111 |
.endif |
104 |
.endif |
| 112 |
|
105 |
|
| 113 |
.if defined(WITH_DEBUG) |
106 |
.if defined(WITH_DEBUG) |