pkgsrc/graphics/SDL2_image/Makefile
2017-02-28 15:19:58 +00:00

31 lines
921 B
Makefile

# $NetBSD: Makefile,v 1.9 2017/02/28 15:20:04 ryoon Exp $
DISTNAME= SDL2_image-2.0.1
PKGREVISION= 1
CATEGORIES= graphics devel
MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.libsdl.org/projects/SDL_image/
COMMENT= Load images as SDL surfaces
LICENSE= zlib
USE_LANGUAGES= c
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ac_cv_prog_ac_ct_OBJC=${CC:Q}
INSTALLATION_DIRS= bin
PKGCONFIG_OVERRIDE= SDL2_image.pc.in
CHECK_PORTABILITY_SKIP= external/tiff-4.0.3/configure
post-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/showimage \
${DESTDIR}${PREFIX}/bin/showimage2
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"