summaryrefslogtreecommitdiff
path: root/math/qtiplot-doc/Makefile
blob: 48c79e03964209bded49b7665416cf948c839ff2 (plain)
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

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

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The QtiPlot Handbook

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

USES=		tar:bzip2
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} ${STAGEDIR}${DATADIR}
	${RM} -r ${WRKSRC}/html/pics-it
	cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>