aboutsummaryrefslogtreecommitdiffstats
path: root/x11/babl/Makefile
blob: b491db465d6621692f0b27ebee71ddc87d7a197a (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
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=   babl
PORTVERSION=    0.1.10
PORTREVISION=   2
CATEGORIES= x11
MASTER_SITES=   GIMP

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Dynamic pixel format conversion library

USES=       gmake libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-introspection
INSTALL_TARGET= install-strip

OPTIONS_DEFINE= SIMD

.include <bsd.port.options.mk>

.if !${PORT_OPTIONS:MSIMD}
CONFIGURE_ARGS+=--disable-mmx \
        --disable-sse \
        --disable-altivec
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|x86_64|amd64|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>