43 lines
982 B
Makefile
43 lines
982 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
PORTNAME= babl
|
|
PORTVERSION= 0.1.92
|
|
CATEGORIES= x11
|
|
MASTER_SITES= GIMP
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Dynamic pixel format conversion library
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= vapigen:lang/vala
|
|
LIB_DEPENDS= liblcms2.so:graphics/lcms2
|
|
|
|
USES= compiler:c11 gnome libtool localbase meson pathfix pkgconfig tar:xz
|
|
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= introspection:build
|
|
|
|
OPTIONS_DEFINE= SIMD
|
|
OPTIONS_DEFAULT=SIMD
|
|
|
|
SIMD_MESON_OFF= -Denable-mmx=false -Denable-sse=false \
|
|
-Denable-sse2=false -Denable-sse4_1=false \
|
|
-Denable-avx2=false -Denable-f16c=false
|
|
|
|
BABL_SHLIB= 0.191.1
|
|
BABL_VER= 0.1
|
|
PLIST_SUB+= BABL_SHLIB=${BABL_SHLIB} BABL_VER=${BABL_VER}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
|
PLIST_SUB+= AMD64="" AARCH64="@comment "
|
|
.elif ${ARCH} == "aarch64"
|
|
PLIST_SUB+= AMD64="@comment " AARCH64=""
|
|
.else
|
|
PLIST_SUB+= AMD64="@comment " AARCH64="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|