freebsd-ports/graphics/imlib2/Makefile
Jimmy Olgeni c305a74a85 The current primary MASTER_SITE uses a redirection (http 302) to another
site. Use that site directly, since the default FETCH_CMD ("fetch -A")
will not follow redirects.

No md5 changes.
2001-10-09 18:59:48 +00:00

39 lines
919 B
Makefile

# New ports collection makefile for: imlib2
# Date created: 16 Oct 2000
# Whom: Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= imlib2
PORTVERSION= 1.0.4
CATEGORIES= graphics
MASTER_SITES= http://www.nl.rasterman.com/files/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= enlightenment
MAINTAINER= ishmael27@home.com
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
ltdl.1:${PORTSDIR}/devel/libtool \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
ungif.5:${PORTSDIR}/graphics/libungif
USE_X_PREFIX= yes
USE_FREETYPE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if defined(WITH_MMX) && (${ARCH} == "i386")
CONFIGURE_ARGS= --enable-mmx
.endif
post-configure:
@${PERL} -pi -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
.include <bsd.port.post.mk>