1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/x11/babl/Makefile
Jeremy Messenger 78dc195ea9 Fix the build with clang.
PR:		ports/163518
Submitted by:	Jan Beich <jbeich@tormail.net>
Feature safe:	yes
2012-03-16 03:12:33 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: babl
# Date created: 2008-04-14
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= babl
PORTVERSION= 0.1.6
CATEGORIES= x11
MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \
http://gimp.mirrors.hoobly.com/%SUBDIR%/ \
http://ftp.gwdg.de/pub/misc/grafik/gimp/%SUBDIR%/ \
ftp://ftp.fh-heilbronn.de/mirrors/ftp.gimp.org/%SUBDIR%/ \
ftp://ftp.insync.net/pub/mirrors/ftp.gimp.org/%SUBDIR%/ \
http://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/%SUBDIR%,}
MASTER_SITE_SUBDIR= babl/${PORTVERSION:R}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Dynamic pixel format conversion library
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
USE_LDCONFIG= yes
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
USE_GNOME= pkgconfig gnomehack ltverhack
USE_GMAKE= yes
OPTIONS= SIMD "Use cpu-specific optimizations if available" off
.include <bsd.port.pre.mk>
.if defined(WITHOUT_SIMD)
CONFIGURE_ARGS+=--disable-mmx \
--disable-sse \
--disable-altivec
.endif
post-patch:
@${REINPLACE_CMD} -e 's|x86_64|amd64|g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>