1999-11-14 03:44:12 +00:00
|
|
|
# New ports collection makefile for: gtkgraph
|
|
|
|
# Date created: 12 October 1999
|
|
|
|
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= gtkgraph
|
|
|
|
PORTVERSION= 0.6.1
|
1999-11-14 03:44:12 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://gtkgraph.linuxbox.com/
|
|
|
|
|
1999-12-22 14:15:19 +00:00
|
|
|
MAINTAINER= jedgar@FreeBSD.org
|
1999-11-14 03:44:12 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
|
2000-01-01 22:42:01 +00:00
|
|
|
pre-configure:
|
2000-01-19 12:45:44 +00:00
|
|
|
@${PERL} -pi.orig -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure
|
2000-01-01 22:42:01 +00:00
|
|
|
|
1999-11-14 03:44:12 +00:00
|
|
|
.include <bsd.port.mk>
|