2000-09-20 09:16:53 +02:00
|
|
|
# New ports collection makefile for: sdl_image
|
|
|
|
# Date created: 20 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sdl_image
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTVERSION= 1.2.12
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 1
|
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
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A simple library to load images of various formats as SDL surfaces
|
2000-09-20 09:16:53 +02:00
|
|
|
|
2010-02-05 12:46:55 +01:00
|
|
|
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
|
2012-06-01 07:26:28 +02:00
|
|
|
png15:${PORTSDIR}/graphics/png \
|
2003-07-31 09:10:01 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
2000-09-20 09:16:53 +02:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2004-03-08 02:01:31 +01:00
|
|
|
USE_SDL= sdl
|
2010-01-30 10:43:31 +01:00
|
|
|
USE_GNOME= pkgconfig gnomehack
|
2000-09-20 09:16:53 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lm
|
2002-05-02 04:09:19 +02:00
|
|
|
CONFIGURE_ARGS= --enable-tif --enable-xcf
|
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:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/.libs/showimage ${PREFIX}/bin
|
2000-09-20 09:16:53 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|