openbsd-ports/devel/sdl-image/Makefile
2002-05-26 17:32:57 +00:00

39 lines
877 B
Makefile

# $OpenBSD: Makefile,v 1.8 2002/05/26 17:40:40 brad Exp $
COMMENT= "SDL image library"
VER= 1.2.1
PROJ= SDL_image
DISTNAME= ${PROJ}-${VER}
PKGNAME= sdl-image-${VER}
CATEGORIES= devel graphics
NEED_VERSION= 1.525
MASTER_SITES= http://www.libsdl.org/projects/${PROJ}/release/
HOMEPAGE= http://www.libsdl.org/
MAINTAINER= Mark Grimes <mark@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= SDL.::devel/sdl \
png.2::graphics/png \
tiff.35::graphics/tiff \
jpeg.62.::graphics/jpeg
USE_X11= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${X11BASE}/lib"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
patch-*
.include <bsd.port.mk>