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
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 8
|
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/ \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
SF \
|
2000-11-22 17:35:20 +01:00
|
|
|
http://magnet.fsu.edu/~feiguin/scigraphica/src/
|
2000-12-21 17:27:19 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-08-29 14:43:07 +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>
|