2000-08-29 14:43:07 +02:00
|
|
|
# New ports collection makefile for: scigraphica
|
|
|
|
# Date created: 29 August 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scigraphica
|
2001-12-05 11:55:53 +01:00
|
|
|
PORTVERSION= 0.8.0
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 10
|
2000-08-29 14:43:07 +02:00
|
|
|
CATEGORIES= math gnome
|
2001-07-27 14:51:47 +02:00
|
|
|
MASTER_SITES= http://scigraphica.sourceforge.net/src/ \
|
2009-08-22 02:28:34 +02:00
|
|
|
SF/${PORTNAME}/${PORTNAME}-0.x/${PORTVERSION}-source \
|
2000-11-22 17:35:20 +01:00
|
|
|
http://magnet.fsu.edu/~feiguin/scigraphica/src/
|
2009-08-22 02:28:34 +02:00
|
|
|
|
2003-07-29 11:12:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A scientific application for data analysis and technical graphics
|
2000-08-29 14:43:07 +02:00
|
|
|
|
2001-05-03 11:02:06 +02:00
|
|
|
BUILD_DEPENDS= ${PYNUMERIC}
|
2001-12-05 11:55:53 +01:00
|
|
|
LIB_DEPENDS= gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra
|
2001-07-27 14:51:47 +02:00
|
|
|
RUN_DEPENDS= ${PYNUMERIC} \
|
2002-08-28 20:03:59 +02:00
|
|
|
${PYTHON_SITELIBDIR}/gtk-1.2/_gtkmodule.so:${PORTSDIR}/x11-toolkits/py-gtk
|
2000-08-29 14:43:07 +02:00
|
|
|
|
2003-11-20 16:06:14 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2000-08-29 14:43:07 +02:00
|
|
|
USE_GMAKE= yes
|
2008-05-08 22:47:27 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gtkhtml
|
2000-10-18 15:14:56 +02:00
|
|
|
USE_PYTHON= yes
|
2001-12-05 11:55:53 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-08-29 14:43:07 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-12-05 11:55:53 +01:00
|
|
|
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2000-08-29 14:43:07 +02:00
|
|
|
|
2004-09-26 05:11:57 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-08-29 14:43:07 +02:00
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-29 14:43:07 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
2001-07-27 14:51:47 +02:00
|
|
|
post-install:
|
2007-10-25 01:37:25 +02:00
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/scigraphica
|
|
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/scigraphica
|
2001-07-27 14:51:47 +02:00
|
|
|
|
2004-09-26 05:11:57 +02:00
|
|
|
.include <bsd.port.post.mk>
|