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
|
2008-12-03 23:46:23 +01:00
|
|
|
PORTVERSION= 1.2.7
|
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}
|
|
|
|
|
2008-03-13 15:05:28 +01:00
|
|
|
MAINTAINER= mva@sysfault.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
|
|
|
|
2003-07-31 09:10:01 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 04:22:51 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2003-07-31 09:10:01 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
2000-09-20 09:16:53 +02:00
|
|
|
|
2008-03-13 15:05:28 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-03-08 02:01:31 +01:00
|
|
|
USE_SDL= sdl
|
2000-09-20 09:16:53 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= 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>
|