forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
77 lines (57 loc) · 1.72 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
PORTNAME= babl
PORTVERSION= 0.1.108
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= GIMP
MAINTAINER= [email protected]
COMMENT= Dynamic pixel format conversion library
WWW= https://www.gegl.org/babl/
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblcms2.so:graphics/lcms2
USES= gnome meson pathfix pkgconfig tar:xz vala:build
USE_GNOME= introspection:build
USE_LDCONFIG= yes
MESON_ARGS= -Dgi-docgen=disabled -Dwith-docs=false
BABL_SHLIB= 0.207.1
BABL_VER= 0.1
PLIST_SUB+= BABL_SHLIB=${BABL_SHLIB} BABL_VER=${BABL_VER}
OPTIONS_DEFINE_amd64= AVX2 F16C MMX SSE2 SSE41 SSE
OPTIONS_DEFINE_i386= AVX2 F16C MMX SSE2 SSE41 SSE
OPTIONS_DEFAULT_amd64= MMX SSE2 SSE
AVX2_DESC= Use AVX2 optimized routines
F16C_DESC= Use F16C optimized routines
SSE2_DESC= Use SSE2 optimized routines
SSE41_DESC= Use SSE4.1 optimized routines
AVX2_IMPLIES= SSE41
AVX2_MESON_ON= -Denable-avx2=true
AVX2_MESON_OFF= -Denable-avx2=false
F16C_IMPLIES= MMX
F16C_MESON_ON= -Denable-f16c=true
F16C_MESON_OFF= -Denable-f16c=false
MMX_MESON_ON= -Denable-mmx=true
MMX_MESON_OFF= -Denable-mmx=false
SSE2_IMPLIES= SSE
SSE2_MESON_ON= -Denable-sse2=true
SSE2_MESON_OFF= -Denable-sse2=false
SSE41_IMPLIES= SSE2
SSE41_MESON_ON= -Denable-sse4_1=true
SSE41_MESON_OFF= -Denable-sse4_1=false
SSE_IMPLIES= MMX
SSE_MESON_ON= -Denable-sse=true
SSE_MESON_OFF= -Denable-sse=false
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c11
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
PLIST_SUB+= AMD64="" ARM="@comment "
.elif ${ARCH} == "armv6" || ${ARCH} == "armv7"
PLIST_SUB+= AMD64="@comment " ARM=""
.else
PLIST_SUB+= AMD64="@comment " ARM="@comment "
.endif
.include <bsd.port.post.mk>