2010-11-17 03:05:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2010/11/17 08:05:14 espie 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
|
2010-11-09 13:22:26 -05:00
|
|
|
REVISION = 1
|
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
|
|
|
|
|
2004-09-21 18:40:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
2004-04-17 22:01:25 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
WANTLIB= X11 Xau Xdmcp Xext c freetype m pthread-stubs xcb z \
|
2010-11-17 03:05:12 -05:00
|
|
|
jpeg>=62 gif>=5 png>=2 tiff>=35 bz2 id3tag>=3
|
|
|
|
LIB_DEPENDS+= graphics/jpeg \
|
|
|
|
graphics/libungif \
|
|
|
|
graphics/png \
|
|
|
|
graphics/tiff \
|
|
|
|
archivers/bzip2 \
|
|
|
|
audio/libid3tag
|
2004-04-17 22:01:25 -04:00
|
|
|
|
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" \
|
2010-09-26 09:40:11 -04:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
2006-11-20 04:21:09 -05:00
|
|
|
|
2004-04-17 22:01:25 -04:00
|
|
|
.include <bsd.port.mk>
|