openbsd-ports/devel/sdl-image/Makefile

40 lines
871 B
Makefile
Raw Normal View History

2012-04-05 07:40:46 -04:00
# $OpenBSD: Makefile,v 1.33 2012/04/05 11:40:46 ajacoutot Exp $
COMMENT= SDL image library
2012-04-05 07:40:46 -04:00
DISTNAME= SDL_image-1.2.12
PKGNAME= ${DISTNAME:L:S/_/-/}
CATEGORIES= devel graphics
2012-04-05 07:40:46 -04:00
MASTER_SITES= ${HOMEPAGE}release/
2012-04-05 07:40:46 -04:00
SHARED_LIBS= SDL_image 3.1
HOMEPAGE= http://www.libsdl.org/projects/SDL_image/
2012-04-05 07:40:46 -04:00
# Zlib
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2012-04-05 07:40:46 -04:00
WANTLIB= SDL jpeg m png sndio tiff usbhid webp z
2005-07-03 17:35:57 -04:00
MODULES= converters/libiconv
2010-11-15 14:45:56 -05:00
LIB_DEPENDS= devel/sdl \
graphics/jpeg \
2012-04-05 07:40:46 -04:00
graphics/libwebp \
2010-11-15 14:45:56 -05:00
graphics/png \
graphics/tiff
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--disable-jpg-shared \
--disable-png-shared \
2012-04-05 07:40:46 -04:00
--disable-tif-shared \
--disable-webp-shared
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2001-10-05 13:35:26 -04:00
.include <bsd.port.mk>