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

PORTNAME=   pybook
PORTVERSION=    0.6f
CATEGORIES= textproc python
MASTER_SITES=   http://silmarill.org/pybook/

MAINTAINER= ports@FreeBSD.org

USE_REINPLACE=  yes
USE_PYTHON= yes
USE_PYDISTUTILS=    yes

post-patch:
    @${REINPLACE_CMD} -e "s,python2,python,g" ${WRKSRC}/pybook.py

post-install:
    @${MV} -f ${PREFIX}/bin/pybook.py ${PREFIX}/bin/pybook

.include <bsd.port.mk>