aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rubber/Makefile
blob: 068707c95c0449a8986b38585773e6a247985dc7 (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
36
# ex:ts=8
# Ports collection Makefile for:    rubber
# Date created:         Mar 27, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   rubber
PORTVERSION=    1.1
PORTREVISION=   2
CATEGORIES= textproc
MASTER_SITES=   http://ebeffara.free.fr/pub/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A wrapper for LaTeX and friends

RUN_DEPENDS=    latex:${PORTSDIR}/print/teTeX-base

USE_PYTHON= 2.2+
USE_GMAKE=  yes
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX} --infodir=${PREFIX}/${INFO_PATH} \
        --datadir=${PYTHON_SITELIBDIR}

MANLANG=    "" fr
MAN1=       rubber.1 rubber-info.1 rubber-pipe.1
INFO=       rubber

post-install:
    @${FIND} ${PYTHON_SITELIBDIR}/rubber ! -type d | ${SED} \
        's,${PREFIX}/,,' >> ${TMPPLIST}
    @${FIND} ${PYTHON_SITELIBDIR}/rubber -type d | ${SORT} -r | ${SED} \
        's,${PREFIX}/,@dirrm ,' >> ${TMPPLIST}

.include <bsd.port.mk>