ajacoutot a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00

37 lines
790 B
Makefile

# $OpenBSD: Makefile,v 1.38 2015/05/22 11:31:13 ajacoutot Exp $
COMMENT= SDL image library
DISTNAME= SDL_image-1.2.12
PKGNAME= ${DISTNAME:L:S/_/-/}
REVISION= 2
CATEGORIES= devel graphics
MASTER_SITES= ${HOMEPAGE}release/
SHARED_LIBS= SDL_image 3.1
HOMEPAGE= http://www.libsdl.org/projects/SDL_image/
# Zlib
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= SDL jpeg m png pthread sndio tiff usbhid webp z
MODULES= converters/libiconv
LIB_DEPENDS= devel/sdl \
graphics/jpeg \
graphics/libwebp \
graphics/png \
graphics/tiff
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--disable-jpg-shared \
--disable-png-shared \
--disable-tif-shared \
--disable-webp-shared
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>