# Created by: Jean-Baptiste Quenot # $FreeBSD: head/textproc/slides/Makefile 412349 2016-04-01 14:25:16Z mat $ PORTNAME= slides PORTVERSION= 3.4.0 CATEGORIES= textproc MASTER_SITES= SF/docbook/${PORTNAME}/${PORTVERSION} DISTNAME= docbook-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Doctype and stylesheets for making slides LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= docbook-xml>0:textproc/docbook-xml \ docbook-xsl>0:textproc/docbook-xsl NO_ARCH= yes NO_BUILD= yes USES= tar:bzip2 SUB_FILES= pkg-deinstall pkg-install SUB_LIST= XMLCATMGR="${XMLCATMGR}" CATALOG_PORTS_XML="${CATALOG_PORTS}" \ INSTDIR="${INSTDIR}" OPTIONS_DEFINE= DOCS XMLDIR= ${LOCALBASE}/share/xml INSTDIR= share/xsl/${PORTNAME} PINSTDIR= ${PREFIX}/${INSTDIR} COPYDIRS= browser graphics schema xsl XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS= ${XMLDIR}/catalog.ports do-install: @${MKDIR} ${STAGEDIR}${PINSTDIR} .for i in VERSION catalog (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${PINSTDIR}) .endfor .for i in ${COPYDIRS} @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${PINSTDIR}) .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include