36 lines
759 B
Makefile
36 lines
759 B
Makefile
# $OpenBSD: Makefile,v 1.42 2018/01/12 19:32:54 bentley Exp $
|
|
|
|
COMMENT= SDL image library
|
|
|
|
DISTNAME= SDL_image-1.2.12
|
|
PKGNAME= ${DISTNAME:L:S/_/-/}
|
|
REVISION= 4
|
|
CATEGORIES= devel graphics
|
|
MASTER_SITES= ${HOMEPAGE}release/
|
|
|
|
SHARED_LIBS= SDL_image 3.1
|
|
|
|
HOMEPAGE= https://www.libsdl.org/projects/SDL_image/
|
|
|
|
# Zlib
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= SDL iconv jpeg m png pthread sndio tiff usbhid webp z
|
|
|
|
LIB_DEPENDS= devel/sdl \
|
|
graphics/jpeg \
|
|
graphics/libwebp \
|
|
graphics/png \
|
|
graphics/tiff
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS+=--disable-jpg-shared \
|
|
--disable-png-shared \
|
|
--disable-tif-shared \
|
|
--disable-webp-shared
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
OBJC="${CC}"
|
|
|
|
.include <bsd.port.mk>
|