aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gtkgraph/Makefile
blob: d70f722bdf55593b8e2982728e2760e833ed669e (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
# 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
PORTREVISION=   1
CATEGORIES= graphics math
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jedgar

MAINTAINER= jedgar@FreeBSD.org

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOMENG=    yes
USE_GNOME=  imlib
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

pre-patch:
    @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; s|-O2|${CFLAGS}| ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>
e5a88c18d'>Update to 3.5.0tijl2015-06-27