blob: 2fb48a580ccc2af176651d58c298fb07d333c492 (
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
40
41
42
43
44
|
# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= buildtool-doc
PORTVERSION= 0.16
CATEGORIES= devel
MASTER_SITES= SF/buildtool/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Buildtool User's and Developer's manuals
BUILD_DEPENDS= ${BUILDTOOL}:${PORTSDIR}/devel/buildtool \
xsltproc:${PORTSDIR}/textproc/libxslt \
xmlcatalog:${PORTSDIR}/textproc/libxml2 \
${DOCBOOK_XML}:${PORTSDIR}/textproc/docbook-xml \
${DOCBOOK_XSL}:${PORTSDIR}/textproc/docbook-xsl
.if defined(NOPORTDOCS)
IGNORE= contains only documentation
.endif
BUILDTOOL= ${LOCALBASE}/bin/buildtool
CONFIGURE_ARGS= --prefix=${PREFIX} --dir-doc=${DOCSDIR} \
--dir-html=${DOCSDIR}
DOCBOOK_XML= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd
DOCBOOK_XSL= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl
DOCS= CHANGES COPYING PEOPLE README README.bt
NO_STAGE= yes
do-configure:
cd ${WRKSRC} && \
CATALOG_FILE=${LOCALBASE}/share/xml/catalog.ports \
DOCBOOK_XSL=${LOCALBASE}/share/xsl/docbook \
${BUILDTOOL} config ${CONFIGURE_ARGS}
do-build:
cd ${WRKSRC} && ${BUILDTOOL} build
do-install:
cd ${WRKSRC} && ${BUILDTOOL} install
.include <bsd.port.mk>
|