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

PORTNAME=   rubber
PORTVERSION=    1.1
PORTREVISION=   4
CATEGORIES= textproc
MASTER_SITES=   http://launchpadlibrarian.net/53558954/

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

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_PYTHON= 2.5+
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>