summaryrefslogtreecommitdiffstats
path: root/x11/pixman/Makefile
blob: 6d519a5e64698854320d564e3de72f1bd19e7691 (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
32
33
34
35
36
37
# New ports collection makefile for:    pixman
# Date Created:             Aug 9 2003
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD: ports/x11/pixman/Makefile,v 1.14 2010/02/11 16:26:04 rnoland Exp $
#

PORTNAME=   pixman
PORTVERSION=    0.18.2
CATEGORIES= x11

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

XORG_CAT=   lib
USE_AUTOTOOLS=  libtool:22
USE_PERL5_BUILD=yes
USE_GNOME=  ltverhack:9

OPTIONS=    SIMD "Enable autodection of SIMD features (MMX, SSE2, VMX)" off

.include <bsd.port.pre.mk>

.if defined(WITHOUT_SIMD)
CONFIGURE_ARGS= --disable-vmx --disable-arm-simd

.if ${ARCH:Namd64}
CONFIGURE_ARGS+=    --disable-mmx --disable-sse2
.endif

.endif

post-patch:
    @${REINPLACE_CMD} -e 's|gtk+-2\.0|disable-gtk|g' \
        ${WRKSRC}/configure

.include <bsd.port.post.mk>