aboutsummaryrefslogtreecommitdiffstats
path: root/math/qtiplot-doc/Makefile
blob: fa0e7249eb52b0ae4a16b673e1597b47802b1dee (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
# New ports collection makefile for:    qtiplot-doc
# Date created:     2006-09-08
# Whom:         Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#

PORTNAME=   qtiplot
DISTVERSION=    0.9.7
CATEGORIES= math
MASTER_SITES=   BERLIOS http://soft.proindependent.com/src/
PKGNAMESUFFIX=  -doc

MAINTAINER= makc@issp.ac.ru
COMMENT=    The QtiPlot Handbook

BUILD_DEPENDS=  docbook2html:${PORTSDIR}/textproc/docbook-utils \
        ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml \
        ${LOCALBASE}/share/xsl/docbook/html/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
        ${LOCALBASE}/share/sgml/docbook/dsssl/modular/html/docbook.dsl:${PORTSDIR}/textproc/dsssl-docbook-modular

USE_BZIP2=  yes
DATADIR=    ${PREFIX}/share/qtiplot/manual
WRKSRC=     ${WRKDIR}/${DISTNAME}/manual

post-patch:
    cd ${WRKSRC} && ${REINPLACE_CMD} -e "s:/usr/local:${LOCALBASE}:g" \
        docbook-en/index.docbook qtiplot.dsl qtiplot_html.xsl Makefile

do-install:
    ${MKDIR} ${DATADIR}
    cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${DATADIR}

.include <bsd.port.mk>