aboutsummaryrefslogtreecommitdiffstats
path: root/math/clarence/Makefile
blob: a74615a155368c3ab19339b9725795d3f2095ca2 (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
# ex:ts=8
# Ports collection makefile for:    clarence
# Date created:         Jan 30, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   clarence
PORTVERSION=    0.1.8
CATEGORIES= math python
MASTER_SITES=   http://nrn.ll.pl/pasp/

MAINTAINER= ports@FreeBSD.org

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/GDK.py:${PORTSDIR}/x11-toolkits/py-gtk

USE_PYTHON= yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    @${PERL} -pi -e "s,#!/usr/bin/python,#!/usr/bin/env python,g" ${WRKSRC}/clarence.py

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/clarence.py ${PREFIX}/bin/clarence

.include <bsd.port.mk>