openbsd-ports/devel/sdl-image/Makefile

37 lines
869 B
Makefile
Raw Normal View History

2006-10-18 20:35:03 -04:00
# $OpenBSD: Makefile,v 1.22 2006/10/19 00:35:03 pvalchev Exp $
COMMENT= "SDL image library"
2005-07-03 17:35:57 -04:00
DISTNAME= SDL_image-1.2.4
2006-10-18 14:07:19 -04:00
PKGNAME= ${DISTNAME:L:S/_/-/}p1
SHARED_LIBS= SDL_image 2.0
CATEGORIES= devel graphics
MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/
HOMEPAGE= http://www.libsdl.org/projects/SDL_image/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2005-07-03 17:35:57 -04:00
FAKE= lib
USE_LIBTOOL= Yes
USE_X11= Yes
2006-08-01 19:39:08 -04:00
LIB_DEPENDS= SDL::devel/sdl \
png.>=2::graphics/png \
tiff.>=35::graphics/tiff \
jpeg.>=62.::graphics/jpeg
2006-10-18 20:35:03 -04:00
WANTLIB= X11 Xext m usbhid z
CONFIGURE_STYLE=gnu
2005-07-03 17:35:57 -04:00
CONFIGURE_ARGS+=--enable-tif \
${CONFIGURE_SHARED}
CONFIGURE_ENV+= CPPFLAGS="-I${DEPBASE}/include -I${DEPBASE}/include/libpng" \
LDFLAGS="-L${X11BASE}/lib" \
sdlconf_args=--prefix=${DEPBASE}
2001-10-05 13:35:26 -04:00
.include <bsd.port.mk>