aboutsummaryrefslogtreecommitdiffstats
path: root/devel/buildtool-doc/Makefile
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-09-10 21:14:33 +0800
committererwin <erwin@FreeBSD.org>2003-09-10 21:14:33 +0800
commit0a9deb2981b48afa433a76045eea45d6e53b22a9 (patch)
treee77cea05412451d4c211025d210a5dcce9324016 /devel/buildtool-doc/Makefile
parent30e9799a97a712bba150c74c2bd4a496384ab11d (diff)
downloadfreebsd-ports-gnome-0a9deb2981b48afa433a76045eea45d6e53b22a9.tar.gz
freebsd-ports-gnome-0a9deb2981b48afa433a76045eea45d6e53b22a9.tar.zst
freebsd-ports-gnome-0a9deb2981b48afa433a76045eea45d6e53b22a9.zip
Add buildtool-doc 0.14, buildtool User's and Developer's manuals.
PR: 54823 Submitted by: Sergei Kolobov <sergei@kolobov.com>
Diffstat (limited to 'devel/buildtool-doc/Makefile')
-rw-r--r--devel/buildtool-doc/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/devel/buildtool-doc/Makefile b/devel/buildtool-doc/Makefile
new file mode 100644
index 000000000000..4bf9cf8c3d03
--- /dev/null
+++ b/devel/buildtool-doc/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: buildtool-doc
+# Date created: 2003-07-24
+# Whom: Sergei Kolobov <sergei@kolobov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= buildtool-doc
+PORTVERSION= 0.14
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= buildtool
+
+MAINTAINER= sergei@kolobov.com
+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} && \
+ 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>