1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/graphics/imlib/Makefile
Maxim Sobolev 43c6ed6dd4 Explicitly pass --x-{includes,libraries} to the configure script, so that the
port works even for the non-standard X11BASE's (like /opt or such).

Prompted by:	mi
2001-12-11 14:50:58 +00:00

37 lines
885 B
Makefile

# New ports collection makefile for: imlib
# Date created: 10 June 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
PORTNAME= imlib
PORTVERSION= 1.9.11
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/imlib
MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
ungif.5:${PORTSDIR}/graphics/libungif
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GTK= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib --disable-modules \
--x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= imlib-config.1 imlib_config.1
pre-configure:
${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in
.include <bsd.port.mk>