openbsd-ports/graphics/imlib2/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2007-04-08 12:33:41 -04:00
# $OpenBSD: Makefile,v 1.16 2007/04/08 16:33:41 sturm Exp $
COMMENT= "image manipulation library"
DISTNAME= imlib2-1.3.0
2007-04-08 12:33:41 -04:00
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= Imlib2 4.0 # .4.0
CATEGORIES= graphics
HOMEPAGE= http://enlightenment.org/Libraries/Imlib2/
# 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
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
2006-08-03 08:43:20 -04:00
LIB_DEPENDS+= jpeg.>=62::graphics/jpeg \
gif.>=5::graphics/libungif \
2006-08-03 08:43:20 -04:00
png.>=2::graphics/png \
tiff.>=35::graphics/tiff \
bz2::archivers/bzip2 \
id3tag.>=3::audio/libid3tag
USE_X11= Yes
2005-12-26 09:35:52 -05:00
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
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
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-mmx
.else
CONFIGURE_ARGS+= --disable-mmx
.endif
.include <bsd.port.mk>