summaryrefslogtreecommitdiff
path: root/math/guppi/Makefile
blob: 0b566cb503c294af9afb266270f71b20edb27798 (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
33
34
35
36
37
38
39
# New ports collection makefile for:	guppi
# Date created:				22 December 2000
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	guppi
PORTVERSION=	0.40.3
PORTREVISION=	3
CATEGORIES=	math gnome
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/Guppi/0.40
DISTNAME=	Guppi-${PORTVERSION}

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	A ploting program for GNOME

LIB_DEPENDS=	guile.15:${PORTSDIR}/lang/guile

USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomeprefix gnomehack gnomelibs bonobo libglade gal gnometarget
USE_PYTHON=	yes
INSTALLS_SHLIB=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-explicit-python-linking
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include/libglade-1.0" \
		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
		GNUMERIC_IDLDIR="`cd ${PORTSDIR}/math/gnumeric && ${MAKE} -V WRKSRC`/idl"
PLIST_SUB=	VERSION="${PORTVERSION}"

# Can't use BUILD_DEPENDS, because then we have `short circuit' for
# make clean - Gnumeric tries to clean-up Guppi, while Guppi in turn
# tries to clean Gnumeric.
post-extract:
	@cd ${PORTSDIR}/math/gnumeric && ${MAKE} patch

.include <bsd.port.mk>