openbsd-ports/devel/sdl-image/Makefile

40 lines
944 B
Makefile
Raw Normal View History

2010-11-15 14:45:56 -05:00
# $OpenBSD: Makefile,v 1.32 2010/11/15 19:46:09 espie Exp $
COMMENT= SDL image library
DISTNAME= SDL_image-1.2.10
PKGNAME= ${DISTNAME:L:S/_/-/}
REVISION= 0
CATEGORIES= devel graphics
MASTER_SITES= ftp://ftp.fr.freebsd.org/pub/FreeBSD/distfiles/ \
http://www.libsdl.org/projects/SDL_image/release/
SHARED_LIBS= SDL_image 3.0
HOMEPAGE= http://www.libsdl.org/projects/SDL_image/
# LGPLv2.1+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= SDL jpeg m png tiff sndio usbhid 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 \
graphics/png \
graphics/tiff
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--disable-jpg-shared \
--disable-png-shared \
--disable-tif-shared
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2001-10-05 13:35:26 -04:00
.include <bsd.port.mk>