2017-04-28 18:00:46 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.42 2017/04/28 18:00:46 ajacoutot Exp $
|
2004-04-18 02:01:25 +00:00
|
|
|
|
2007-09-15 20:09:40 +00:00
|
|
|
COMMENT= image manipulation library
|
2004-09-21 22:40:36 +00:00
|
|
|
|
2017-04-28 18:00:46 +00:00
|
|
|
DISTNAME= imlib2-1.4.10
|
2016-11-09 14:53:00 +00:00
|
|
|
SHARED_LIBS= Imlib2 6.0 # .5.9
|
2004-04-18 02:01:25 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
2007-09-22 22:08:16 +00:00
|
|
|
HOMEPAGE= http://www.enlightenment.org/p.php?p=about/libs/imlib2&l=en
|
2004-04-18 02:01:25 +00:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2004-09-21 22:40:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
2004-04-18 02:01:25 +00:00
|
|
|
|
2011-11-02 08:46:37 +00:00
|
|
|
WANTLIB= X11 Xext c freetype m xcb z \
|
2010-11-17 08:05:12 +00:00
|
|
|
jpeg>=62 gif>=5 png>=2 tiff>=35 bz2 id3tag>=3
|
|
|
|
LIB_DEPENDS+= graphics/jpeg \
|
2013-09-25 07:56:56 +00:00
|
|
|
graphics/giflib \
|
2010-11-17 08:05:12 +00:00
|
|
|
graphics/png \
|
|
|
|
graphics/tiff \
|
|
|
|
archivers/bzip2 \
|
|
|
|
audio/libid3tag
|
2004-04-18 02:01:25 +00:00
|
|
|
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
2006-11-20 09:21:09 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2009-05-02 16:27:15 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
CONFIGURE_ARGS+= --disable-mmx
|
|
|
|
.endif
|
2013-06-04 18:41:39 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
2010-09-26 13:40:11 +00:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
2006-11-20 09:21:09 +00:00
|
|
|
|
2017-02-24 18:47:54 +00:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/imlib2.pc.in ${WRKSRC}/imlib2-config.in
|
|
|
|
|
2016-11-09 14:53:00 +00:00
|
|
|
post-install:
|
|
|
|
rm ${PREFIX}/lib/imlib2/filters/*.la ${PREFIX}/lib/imlib2/loaders/*.la
|
|
|
|
|
2004-04-18 02:01:25 +00:00
|
|
|
.include <bsd.port.mk>
|