mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
6db96c0500
Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
39 lines
964 B
Makefile
39 lines
964 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.8.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= stable/sources/imlib
|
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
|
|
|
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
|
gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_LIBTOOL= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib \
|
|
--disable-gtktest
|
|
|
|
pre-configure:
|
|
${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in
|
|
|
|
.include <bsd.port.mk>
|