1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/graphics/devil/Makefile
Alejandro Pulver 531dd5bbe1 - Add USE_GL (since the last xorg update it has been built without OpenGL,
thus ports like "x11-toolkits/gigi" can't find some functions they need).
- Remove unneeded SDL hacks.
- Bump PORTREVISION.

Approved by:	miwi (maintainer)
2007-07-24 16:20:30 +00:00

42 lines
935 B
Makefile

# New ports collection makefile for: devil
# Date created: 8 August 2004
# Whom: Andreas Kohn <andreas@syndrom23.de>
#
# $FreeBSD$
#
PORTNAME= devil
PORTVERSION= 1.6.7
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= openil
DISTNAME= DevIL-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= A full featured cross-platform image library
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
mng.1:${PORTSDIR}/graphics/libmng \
lcms.1:${PORTSDIR}/graphics/lcms
USE_AUTOTOOLS= libtool:15
USE_GL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
OPTIONS= SDL "Enable SDL support" off
.include <bsd.port.pre.mk>
.if defined(WITH_SDL)
USE_SDL= yes
.else
CONFIGURE_ARGS+=--disable-sdl
.endif
.include <bsd.port.post.mk>