summaryrefslogtreecommitdiff
path: root/x11/pixman/Makefile
blob: 97b1fcc0d3cfd7c83f603043b00ec8402656e314 (plain) (blame)
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
# $FreeBSD$

PORTNAME=	pixman
PORTVERSION=	0.30.0
CATEGORIES=	x11

MAINTAINER=	x11@FreeBSD.org
COMMENT=	Low-level pixel manipulation library

USES=		perl5
XORG_CAT=	lib
USE_AUTOTOOLS=	libtool
USE_PERL5=	build
USE_GNOME=	ltverhack:9
CONFIGURE_ARGS=	--disable-gtk

OPTIONS_DEFINE=	SIMD

.include <bsd.port.options.mk>

.if ! {PORT_OPTIONS:MSIMD}
CONFIGURE_ARGS=	--disable-vmx --disable-arm-simd
. if ! ${MACHINE_CPU:Mmmx}
CONFIGURE_ARGS+=	--disable-mmx
. endif
. if ! ${MACHINE_CPU:Msse2}
CONFIGURE_ARGS+=	--disable-sse2
. endif
.endif

.include <bsd.port.mk>