aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gtkgraph/Makefile
blob: 48b046ac9892bca24dcee638a9c2b9c1dcd941db (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
# Created by: Chris D. Faulhaber <jedgar@fxp.org>
# $FreeBSD$

PORTNAME=   gtkgraph
PORTVERSION=    0.6.1
PORTREVISION=   12
CATEGORIES= graphics math
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jedgar

MAINTAINER= ports@FreeBSD.org
COMMENT=    Graphing calculator using GTK+

USES=       gettext
USE_GMAKE=  yes
USE_GNOME=  imlib
USE_PERL5_BUILD=yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+=  -I${LOCALBASE}/include

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

.include <bsd.port.mk>