openbsd-ports/graphics/babl/Makefile
2014-08-20 07:28:03 +00:00

50 lines
974 B
Makefile

# $OpenBSD: Makefile,v 1.19 2014/08/20 07:28:03 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= dynamic pixel format conversion library
API_VERSION= 0.1
V= ${API_VERSION}.10
DISTNAME= babl-${V}
CATEGORIES= graphics devel
REVISION= 0
SHARED_LIBS += babl-${API_VERSION} 1.0 # 105.1
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://gegl.org/babl/
# GPLv3/LGPLv3
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://download.gimp.org/pub/babl/${V:R}/
WANTLIB= m
USE_GMAKE= Yes
SUBST_VARS= API_VERSION
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= ac_cv_path_W3M=no \
ac_cv_path_RSVG=no
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
# XXX https://bugzilla.gnome.org/show_bug.cgi?id=673580
#BUILD_DEPENDS += lang/vala \
# devel/gobject-introspection
CONFIGURE_ARGS += --without-vala \
--disable-introspection
# be safe until proven stable
CONFIGURE_ARGS+= --enable-mmx \
--disable-sse \
--disable-altivec
post-install:
rm ${PREFIX}/lib/babl-${API_VERSION}/*.{a,la}
.include <bsd.port.mk>