aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-openbabel/Makefile
blob: c4243a87f5f4a6cc3a9000a0597b7d1b5181fa05 (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
# New ports collection makefile for:    py-openbabel
# Date created:     2008-07-18
# Whom:         Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#

PORTNAME=   openbabel
PORTVERSION=    2.2.3
CATEGORIES= science python
MASTER_SITES=   SF
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= makc@FreeBSD.org
COMMENT=    Python bindings for openbabel

LIB_DEPENDS=    openbabel.3:${PORTSDIR}/science/openbabel

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
BUILD_WRKSRC=   ${WRKSRC}/scripts/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}

PYDISTUTILS_PKGVERSION= 1.5

#Fix build with non-default LOCALBASE
CONFIGURE_ENV+= OPENBABEL_INSTALL=${LOCALBASE}
MAKE_ENV+=  OPENBABEL_INSTALL=${LOCALBASE}

.include <bsd.port.mk>