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

PORTNAME=   clarence
PORTVERSION=    0.4.4
PORTREVISION=   1
CATEGORIES= math python
MASTER_SITES=   http://clay.ll.pl/download/

MAINTAINER= psh@iki.fi
COMMENT=    Programmer's calculator

BROKEN=     "Broken dependency after python 2.4 update"

USE_GNOME=  pygtk2
USE_REINPLACE=  yes
USE_PYTHON= yes
PYTHON_VERSION= python2.3
NO_BUILD=   yes
MAN1=       clarence.1
PLIST_FILES=    bin/clarence

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

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/clarence.py ${PREFIX}/bin/clarence
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1

.include <bsd.port.mk>