26555e9a44
Restore the tiff option, so libtiff can be avoided. Ok by adam@.
46 lines
1.5 KiB
Makefile
46 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.121 2018/09/10 13:34:16 kim Exp $
|
|
|
|
DISTNAME= libgd-2.2.5
|
|
PKGNAME= ${DISTNAME:S/libgd/gd/}
|
|
PKGREVISION= 4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=libgd/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
PATCH_SITES= ${MASTER_SITE_GITHUB:=libgd/libgd/commit/}
|
|
PATCHFILES= 4b1e18a00ce7c4b7e6919c3b3109a034393b805a.patch
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= https://libgd.github.io/
|
|
COMMENT= Graphics library for the dynamic creation of images
|
|
|
|
GITHUB_PROJECT= libgd
|
|
GITHUB_RELEASE= gd-${PKGVERSION_NOREV}
|
|
|
|
.include "options.mk"
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= perl:run pkg-config
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-werror
|
|
CONFIGURE_ARGS+= --with-fontconfig=${BUILDLINK_PREFIX.fontconfig}
|
|
CONFIGURE_ARGS+= --with-freetype=${BUILDLINK_PREFIX.freetype2}
|
|
CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_PREFIX.jpeg}
|
|
CONFIGURE_ARGS+= --with-liq=${BUILDLINK_PREFIX.libimagequant}
|
|
CONFIGURE_ARGS+= --with-png=${BUILDLINK_PREFIX.png}
|
|
CONFIGURE_ARGS+= --with-webp=${BUILDLINK_PREFIX.libwebp}
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
|
|
REPLACE_PERL+= src/bdftogd
|
|
PTHREAD_AUTO_VARS= yes
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/libimagequant/buildlink3.mk"
|
|
.include "../../graphics/libwebp/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|