1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/graphics/gtkgraph/Makefile
2000-04-14 10:48:02 +00:00

33 lines
750 B
Makefile

# New ports collection makefile for: gtkgraph
# Date created: 12 October 1999
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#
PORTNAME= gtkgraph
PORTVERSION= 0.6.1
CATEGORIES= math
MASTER_SITES= http://gtkgraph.linuxbox.com/
MAINTAINER= jedgar@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
intl.1:${PORTSDIR}/devel/gettext \
gdk_imlib.5:${PORTSDIR}/graphics/imlib
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-x
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
pre-configure:
@${PERL} -pi.orig -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure
.include <bsd.port.mk>