freebsd-ports/math/scigraphica/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# 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
PORTREVISION= 8
CATEGORIES= math gnome
2001-07-27 14:51:47 +02:00
MASTER_SITES= http://scigraphica.sourceforge.net/src/ \
SF \
2000-11-22 17:35:20 +01:00
http://magnet.fsu.edu/~feiguin/scigraphica/src/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A scientific application for data analysis and technical graphics
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} \
${PYTHON_SITELIBDIR}/gtk-1.2/_gtkmodule.so:${PORTSDIR}/x11-toolkits/py-gtk
USE_PERL5_BUILD=yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtkhtml
USE_PYTHON= yes
2001-12-05 11:55:53 +01:00
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2001-12-05 11:55:53 +01:00
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
2001-07-27 14:51:47 +02:00
post-install:
@${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
.include <bsd.port.post.mk>