openbsd-ports/graphics/imlib2/Makefile
sthen 88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00

40 lines
977 B
Makefile

# $OpenBSD: Makefile,v 1.31 2012/03/29 13:38:31 sthen Exp $
COMMENT= image manipulation library
DISTNAME= imlib2-1.4.2
REVISION = 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
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
WANTLIB= X11 Xext c freetype m xcb z \
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
USE_LIBTOOL= Yes
SEPARATE_BUILD= Yes
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${X11BASE}/lib -L${LOCALBASE}/lib"
.include <bsd.port.mk>