Annotation of ports/graphics/devil/Makefile, Revision 1.3
1.1 yason 1: # $OpenBSD$
2:
3: COMMENT = full featured cross-platform image library
4:
5: DISTNAME = DevIL-1.7.8
6: PKGNAME = ${DISTNAME:L}
7:
8: SHARED_LIBS += IL 0.0 #2.0
9: SHARED_LIBS += ILU 0.0 #2.0
10: SHARED_LIBS += ILUT 0.0 #2.0
11:
12: CATEGORIES = graphics
13:
14: HOMEPAGE = http://openil.sourceforge.net/
15:
16: #MAINTAINER = ???
17:
18: # LGPLv2.1
19: PERMIT_PACKAGE_CDROM = Yes
20: PERMIT_PACKAGE_FTP = Yes
21: PERMIT_DISTFILES_CDROM =Yes
22: PERMIT_DISTFILES_FTP = Yes
23:
24: WANTLIB = GL GLU ICE SM X11 Xau Xdmcp Xext Xi Xmu Xrandr Xrender \
1.3 ! yason 25: Xt Xxf86vm c iconv jpeg m pthread pthread-stubs sndio \
! 26: stdc++ usbhid xcb z
1.1 yason 27:
28: MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=openil/}
29: EXTRACT_SUFX = .zip
30:
1.3 ! yason 31: LIB_DEPENDS = alleg::games/allegro \
1.1 yason 32: SDL::devel/sdl \
1.2 yason 33: glut::graphics/freeglut \
1.1 yason 34: Half,Iex,IlmThread,Imath::graphics/ilmbase \
35: IlmImf::graphics/openexr \
36: jasper::graphics/jasper \
37: tiff::graphics/tiff \
1.3 ! yason 38: lcms::graphics/lcms
1.1 yason 39:
40: USE_X11 = Yes
41: USE_LIBTOOL = Yes
42: CONFIGURE_STYLE = gnu
43: CONFIGURE_ARGS += --enable-ILU \
44: --enable-ILUT \
45: --with-examples \
46: ${CONFIGURE_SHARED}
1.2 yason 47: CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" \
1.1 yason 48: CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include/"
49:
1.2 yason 50: NO_REGRESS = Yes
1.1 yason 51:
52: WRKDIST = ${WRKDIR}/${DISTNAME:L}
53:
54: post-extract:
55: .for i in configure build-aux/install-sh
1.2 yason 56: chmod +x ${WRKSRC}/$i
1.1 yason 57: .endfor
58:
59: .include <bsd.port.mk>
CVSweb