2001-05-21 08:41:59 -04:00
|
|
|
# New ports collection makefile for: guppi
|
|
|
|
# Date created: 22 December 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= guppi
|
2001-11-23 12:58:18 -05:00
|
|
|
PORTVERSION= 0.40.2
|
2001-05-21 08:41:59 -04:00
|
|
|
CATEGORIES= math gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/Guppi
|
|
|
|
DISTNAME= Guppi-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
|
2001-10-23 09:36:38 -04:00
|
|
|
BUILD_DEPENDS= gnumeric:${PORTSDIR}/math/gnumeric
|
2001-06-19 05:43:08 -04:00
|
|
|
LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile
|
2001-10-23 09:36:38 -04:00
|
|
|
RUN_DEPENDS= gnumeric:${PORTSDIR}/math/gnumeric
|
2001-05-21 08:41:59 -04:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
2001-10-23 09:36:38 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2001-07-11 04:57:06 -04:00
|
|
|
CONFIGURE_ARGS= --enable-explicit-python-linking
|
2001-09-11 11:37:23 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include/libglade-1.0" \
|
2001-05-21 08:41:59 -04:00
|
|
|
LIBS="-L${LOCALBASE}/lib -pthread"
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2001-10-23 09:36:38 -04:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
2001-05-21 08:41:59 -04:00
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|