2007-04-08 12:33:41 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2007/04/08 16:33:41 sturm Exp $
|
2004-04-17 22:01:25 -04:00
|
|
|
|
|
|
|
COMMENT= "image manipulation library"
|
2004-09-21 18:40:36 -04:00
|
|
|
|
2006-11-20 04:21:09 -05:00
|
|
|
DISTNAME= imlib2-1.3.0
|
2007-04-08 12:33:41 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2006-11-20 04:21:09 -05:00
|
|
|
SHARED_LIBS= Imlib2 4.0 # .4.0
|
2004-04-17 22:01:25 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
2006-07-19 11:11:53 -04:00
|
|
|
HOMEPAGE= http://enlightenment.org/Libraries/Imlib2/
|
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
|
2007-04-08 12:33:41 -04:00
|
|
|
WANTLIB= X11 Xau Xdmcp Xext c freetype m 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}
|
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"
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
CONFIGURE_ARGS+= --enable-amd64
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-amd64
|
|
|
|
.endif
|
2004-04-17 22:01:25 -04:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2004-09-21 18:40:36 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-mmx
|
2006-01-06 16:57:00 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-mmx
|
2004-04-17 22:01:25 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|