2013-06-05 10:34:01 +02:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-09-20 09:16:53 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sdl_image
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTVERSION= 1.2.12
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 8
|
2000-09-20 09:16:53 +02:00
|
|
|
CATEGORIES= graphics
|
2001-04-06 15:04:27 +02:00
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/
|
2000-09-20 09:16:53 +02:00
|
|
|
DISTNAME= SDL_image-${PORTVERSION}
|
|
|
|
|
2009-02-19 22:45:43 +01:00
|
|
|
MAINTAINER= mva@FreeBSD.org
|
2014-01-18 10:12:43 +01:00
|
|
|
COMMENT= Simple library to load images of various formats as SDL surfaces
|
2000-09-20 09:16:53 +02:00
|
|
|
|
2014-01-18 10:12:43 +01:00
|
|
|
LICENSE= LGPL21
|
2000-09-20 09:16:53 +02:00
|
|
|
|
2014-01-18 10:12:43 +01:00
|
|
|
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
2014-12-25 20:04:25 +01:00
|
|
|
libpng.so:${PORTSDIR}/graphics/png \
|
2014-01-18 10:12:43 +01:00
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff \
|
|
|
|
libwebp.so:${PORTSDIR}/graphics/webp
|
|
|
|
|
2014-12-08 17:48:38 +01:00
|
|
|
USES= gmake libtool pkgconfig pathfix
|
2004-03-08 02:01:31 +01:00
|
|
|
USE_SDL= sdl
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-12-08 17:48:38 +01:00
|
|
|
LIBS+= -L${LOCALBASE}/lib -lm
|
2006-09-01 23:34:14 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-09-20 09:16:53 +02:00
|
|
|
|
2004-01-18 19:10:44 +01:00
|
|
|
post-install:
|
2014-01-18 10:12:43 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/.libs/showimage ${STAGEDIR}${PREFIX}/bin
|
2000-09-20 09:16:53 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|