aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gtkgraph/Makefile
blob: 0fffb6bba4ef834d8b29a21a8918c446cb9913f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    gtkgraph
# Version required:         0.6.0
# Date created:             12 October 1999
# Whom:                 Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#

DISTNAME=   gtkgraph-0.6.0
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>