38 lines
953 B
Makefile
38 lines
953 B
Makefile
# $OpenBSD: Makefile,v 1.28 2008/11/07 00:36:08 sthen Exp $
|
|
|
|
COMMENT= SDL image library
|
|
DISTNAME= SDL_image-1.2.4
|
|
PKGNAME= ${DISTNAME:L:S/_/-/}p5
|
|
SHARED_LIBS= SDL_image 2.0
|
|
CATEGORIES= devel graphics
|
|
MASTER_SITES= ftp://ftp.fr.freebsd.org/pub/FreeBSD/distfiles/ \
|
|
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
|
|
|
|
FAKE= lib
|
|
USE_LIBTOOL= Yes
|
|
USE_X11= Yes
|
|
|
|
LIB_DEPENDS= SDL::devel/sdl \
|
|
png.>=2::graphics/png \
|
|
tiff.>=35::graphics/tiff \
|
|
jpeg.>=62.::graphics/jpeg
|
|
|
|
WANTLIB= X11 Xau Xdmcp Xext Xrandr Xrender iconv m sndio usbhid z
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS+=--enable-tif \
|
|
${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${DEPBASE}/include -I${DEPBASE}/include/libpng" \
|
|
LDFLAGS="-L${X11BASE}/lib" \
|
|
sdlconf_args=--prefix=${DEPBASE}
|
|
|
|
.include <bsd.port.mk>
|