aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-gsl/Makefile
blob: 2aa7b3069bf14eb00f3f1f1fda025d1a80e592bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    py-gsl
# Date created:     14 February 2002
# Whom:         Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#

PORTNAME=   gsl
PORTVERSION=    0.3.1
PORTREVISION=   1
CATEGORIES= math python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pygsl
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pygsl-${PORTVERSION}
DIST_SUBDIR=    python

MAINTAINER= perky@FreeBSD.org
COMMENT=    Python interface to GNU Scientific Library

BUILD_DEPENDS=  ${PYNUMERIC}
RUN_DEPENDS=    ${PYNUMERIC}
LIB_DEPENDS=    gsl.7:${PORTSDIR}/math/gsl

PLIST_SUB=  PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
USE_PYTHON= yes
USE_PYDISTUTILS=    yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     "Does not compile on FreeBSD 4.x"
.endif

.include <bsd.port.post.mk>