pkgsrc/graphics/babl/Makefile
adam ba69d9b195 Changes 0.1.0:
Support for RGBA representation in the frequency domain,
un-pre-multiply close-to-zero alpha values to complete black instead
of slightly brighter than black, add a BABL_ALPHA_THRESHOLD constant
to the API, do a complete overhaul of the babl API and do some
changes to increase portability of the library.
2009-08-21 19:39:58 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2009/08/21 19:39:58 adam Exp $
DISTNAME= babl-${BABL_VERSION}
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.gimp.org/pub/babl/0.1/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= bjs@NetBSD.org
HOMEPAGE= http://gegl.org/babl/
COMMENT= Dynamic pixel conversion library
###
### NOTE: to build documentation--which requires additional dependencies--
### define BUILD_DOCS in MAKE_ENV.
###
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
PKGCONFIG_OVERRIDE+= babl.pc.in
.include "Makefile.version"
# Work around broken makefile, please see here:
# http://bugzilla.gnome.org/show_bug.cgi?id=569085
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
SUBST_CLASSES+= plugin
SUBST_STAGE.plugin= post-configure
SUBST_FILES.plugin= extensions/Makefile
SUBST_SED.plugin= -e "s/SHREXT = .dylib/SHREXT = .so/"
SUBST_SED.plugin+= -e "s/DYNAMICLIB = -dynamiclib/DYNAMICLIB = -bundle/"
SUBST_SED.plugin+= -e "s/BABL_API_VERSION...SHREXT./BABL_API_VERSION).dylib/"
.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"