4574fe8643
from RD Thrush, thanks!
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.23 2009/05/02 16:27:15 simon Exp $
|
|
|
|
COMMENT= image manipulation library
|
|
|
|
DISTNAME= imlib2-1.4.2
|
|
SHARED_LIBS= Imlib2 6.0 # .5.0
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= http://www.enlightenment.org/p.php?p=about/libs/imlib2&l=en
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= X11 Xau Xdmcp Xext c freetype m z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
|
|
|
LIB_DEPENDS+= jpeg.>=62::graphics/jpeg \
|
|
gif.>=5::graphics/libungif \
|
|
png.>=2::graphics/png \
|
|
tiff.>=35::graphics/tiff \
|
|
bz2::archivers/bzip2 \
|
|
id3tag.>=3::audio/libid3tag
|
|
|
|
USE_X11= Yes
|
|
USE_LIBTOOL= Yes
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CONFIGURE_ARGS+= --disable-mmx
|
|
.endif
|
|
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"
|
|
|
|
.include <bsd.port.mk>
|