2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2009/08/10 06:31:44 kili Exp $
|
2004-04-17 22:01:25 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= image manipulation library
|
2004-09-21 18:40:36 -04:00
|
|
|
|
2009-04-30 06:09:49 -04:00
|
|
|
DISTNAME= imlib2-1.4.2
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2009-04-30 06:09:49 -04:00
|
|
|
SHARED_LIBS= Imlib2 6.0 # .5.0
|
2004-04-17 22:01:25 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
2007-09-22 18:08:16 -04:00
|
|
|
HOMEPAGE= http://www.enlightenment.org/p.php?p=about/libs/imlib2&l=en
|
2004-04-17 22:01:25 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB= X11 Xau Xdmcp Xext c freetype m pthread-stubs xcb z
|
2004-04-17 22:01:25 -04:00
|
|
|
|
2004-09-21 18:40:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
2004-04-17 22:01:25 -04:00
|
|
|
|
2006-08-03 08:43:20 -04:00
|
|
|
LIB_DEPENDS+= jpeg.>=62::graphics/jpeg \
|
2006-11-20 04:21:09 -05:00
|
|
|
gif.>=5::graphics/libungif \
|
2006-08-03 08:43:20 -04:00
|
|
|
png.>=2::graphics/png \
|
|
|
|
tiff.>=35::graphics/tiff \
|
2004-09-21 18:40:36 -04:00
|
|
|
bz2::archivers/bzip2 \
|
2006-11-20 04:21:09 -05:00
|
|
|
id3tag.>=3::audio/libid3tag
|
2004-04-17 22:01:25 -04:00
|
|
|
|
2004-09-21 18:40:36 -04:00
|
|
|
USE_X11= Yes
|
2005-12-26 09:35:52 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2004-09-21 18:40:36 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2006-11-20 04:21:09 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2004-09-21 18:40:36 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2009-05-02 12:27:15 -04:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
CONFIGURE_ARGS+= --disable-mmx
|
|
|
|
.endif
|
2006-11-20 04:21:09 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${WRKBUILD}/src/lib/.libs -L${X11BASE}/lib -L${LOCALBASE}/lib"
|
|
|
|
|
2004-04-17 22:01:25 -04:00
|
|
|
.include <bsd.port.mk>
|