# $OpenBSD$ COMMENT = full featured cross-platform image library DISTNAME = DevIL-1.7.8 PKGNAME = ${DISTNAME:L} SHARED_LIBS += IL 0.0 # .2.0 SHARED_LIBS += ILU 0.0 # .2.0 SHARED_LIBS += ILUT 0.0 # .2.0 CATEGORIES = graphics HOMEPAGE = http://openil.sourceforge.net/ #MAINTAINER = ??? # LGPLv2.1 PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes WANTLIB += GL GLU Half ICE Iex IlmImf IlmThread Imath SM SDL X11 WANTLIB += Xau Xcursor Xdamage Xdmcp Xext Xfixes Xi Xmu Xpm Xrender WANTLIB += Xt Xxf86dga Xxf86vm alleg c drm glut iconv jasper jpeg WANTLIB += lcms m pthread pthread-stubs sndio stdc++ tiff usbhid xcb z MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=openil/} LIB_DEPENDS = ::games/allegro \ ::devel/sdl \ ::graphics/freeglut \ ::graphics/ilmbase \ ::graphics/openexr \ ::graphics/jasper \ ::graphics/lcms USE_X11 = Yes USE_LIBTOOL = Yes CONFIGURE_STYLE = autoconf AUTOCONF_VERSION = 2.61 CONFIGURE_ARGS += --enable-ILU \ --enable-ILUT \ --with-examples \ ${CONFIGURE_SHARED} CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" \ CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include/" NO_REGRESS = Yes WRKDIST = ${WRKDIR}/${DISTNAME:L} post-extract: .for i in configure build-aux/install-sh chmod +x ${WRKSRC}/$i .endfor .include