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
|
2000-12-06 11:26:50 +01:00
|
|
|
PORTVERSION= 0.6.1
|
2000-08-29 14:43:07 +02:00
|
|
|
CATEGORIES= math gnome
|
2000-11-22 17:35:20 +01:00
|
|
|
MASTER_SITES= http://scigraphica.sourceforge.net/src/ \
|
|
|
|
http://magnet.fsu.edu/~feiguin/scigraphica/src/
|
2000-08-29 14:43:07 +02:00
|
|
|
DISTNAME= sg-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
2000-10-18 15:14:56 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/Numeric/arrayobject.h:${PORTSDIR}/math/numpy
|
2000-11-22 12:56:18 +01:00
|
|
|
LIB_DEPENDS= gtkextra.12:${PORTSDIR}/x11-toolkits/gtkextra \
|
2000-08-29 14:43:07 +02:00
|
|
|
xml.5:${PORTSDIR}/textproc/libxml
|
2000-10-18 15:14:56 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/Numeric/arrayobject.h:${PORTSDIR}/math/numpy
|
2000-08-29 14:43:07 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
USE_GNOME= yes
|
2000-10-18 15:14:56 +02:00
|
|
|
USE_PYTHON= yes
|
2000-08-29 14:43:07 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|