# New ports collection makefile for: buildtool-doc # Date created: 2003-07-24 # Whom: Sergei Kolobov # # $FreeBSD$ # PORTNAME= buildtool-doc PORTVERSION= 0.16 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= buildtool 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 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