4e1b79a0a6
With hat: portmgr Sponsored by: Absolight
42 lines
1.1 KiB
Makefile
42 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}: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 <bsd.port.mk>
|