aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-docutils/Makefile
blob: 311af96c860260b54f4b07c81da84b955e9dbf10 (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
# ex:ts=8
# Ports collection makefile for:    py-docutils
# Date created:         Sep 14, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   docutils
PORTVERSION=    0.4
CATEGORIES= textproc python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python Documentation Utilities

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

BINS=       bin/rst2xml.py bin/rst2s5.py bin/rst2pseudoxml.py \
        bin/rst2newlatex.py bin/rst2latex.py bin/rst2html.py

post-install:
.for i in ${BINS}
    ${MV} -f ${PREFIX}/${i} ${PREFIX}/${i:S/.py//g}
.endfor

.include <bsd.port.mk>