freebsd-ports/graphics/imlib2/Makefile
Vanilla I. Shu 437579290d Upgrade to lastest version.
ecore -> 0.9.9.013
edb -> 1.0.5.004
edje -> 0.5.0.013
eet -> 0.9.10.013
embryo -> 0.9.1.013
enlightenment-devel -> 0.16.999.013
entice -> 0.9.3.004
epeg -> 0.9.0.004
epsilon -> 0.3.0.004
esmart -> 0.9.0.004
etox -> 0.9.0.004
evas -> 0.9.9.013
ewl -> 0.0.4.004
imlib2 -> 1.2.1.004
imlib2_loaders -> 1.2.1.004
2005-08-01 16:23:22 +00:00

51 lines
1.2 KiB
Makefile

# New ports collection makefile for: imlib2
# Date created: 16 Oct 2000
# Whom: Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= imlib2
PORTVERSION= 1.2.1.004
PORTREVISION= 0
CATEGORIES= graphics
MASTER_SITES= http://enlightenment.freedesktop.org/files/
MAINTAINER= vanilla@FreeBSD.org
COMMENT= The next generation graphic library for enlightenment package
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.9:${PORTSDIR}/print/freetype2
USE_LIBLTDL= yes
USE_LIBTOOL_VER= 15
USE_GNOME= gnomehack pkgconfig gnometarget
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_AUTOCONF_VER= 259
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if defined(WITH_MMX) && (${ARCH} == "i386")
CONFIGURE_ARGS+= --enable-mmx
.endif
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --without-x
PKGNAMESUFFIX+= -nox11
PLIST_SUB= X11="@comment "
.else
USE_XLIB= yes
PLIST_SUB= X11=""
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|round|rint|g' ${WRKSRC}/src/lib/color_helpers.c
.include <bsd.port.post.mk>