1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/devel/buildtool-doc/Makefile
Adam Weinberger 44eaadcb75 Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
2014-07-15 23:11:12 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
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}:${PORTSDIR}/devel/buildtool \
xsltproc:${PORTSDIR}/textproc/libxslt \
xmlcatalog:${PORTSDIR}/textproc/libxml2 \
${DOCBOOK_XML}:${PORTSDIR}/textproc/docbook-xml \
${DOCBOOK_XSL}:${PORTSDIR}/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 <bsd.port.mk>