42 lines
1015 B
Makefile
42 lines
1015 B
Makefile
# $OpenBSD: Makefile,v 1.6 2004/11/30 01:06:36 espie Exp $
|
|
|
|
COMMENT= "image manipulation library"
|
|
|
|
DISTNAME= imlib2-1.1.2
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= http://www.enlightenment.org/pages/imlib2.html
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= X11 Xext c freetype m z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
|
|
|
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
|
|
LIB_DEPENDS+= jpeg.62::graphics/jpeg \
|
|
ungif.5::graphics/libungif \
|
|
png.2::graphics/png \
|
|
tiff.35::graphics/tiff \
|
|
bz2::archivers/bzip2 \
|
|
ltdl::devel/libtool,-ltdl
|
|
|
|
USE_X11= Yes
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.59
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CONFIGURE_ARGS+= --enable-mmx
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|