# Created by: Sergei Kolobov # $FreeBSD: head/devel/buildtool-doc/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= buildtool-doc PORTVERSION= 0.16 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/buildtool/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Buildtool User's and Developer's manuals BUILD_DEPENDS= ${BUILDTOOL}:devel/buildtool \ xsltproc:textproc/libxslt \ xmlcatalog:textproc/libxml2 \ docbook-xml>0:textproc/docbook-xml \ ${DOCBOOK_XSL}:textproc/docbook-xsl BUILDTOOL= ${LOCALBASE}/bin/buildtool CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} --dir-doc=${STAGEDIR}${DOCSDIR} \ --dir-html=${STAGEDIR}${DOCSDIR} DOCBOOK_XML= ${LOCALBASE}/share/xml/docbook/4.2 DOCBOOK_XSL= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl DOCS= CHANGES COPYING PEOPLE README README.bt OPTIONS_DEFINE= DOCS 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