8c2df26142
PR: 192809 Submitted by: Ports Fury
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
|
|
# $FreeBSD$
|
|
|
|
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:${PORTSDIR}/textproc/docbook-xml \
|
|
docbook-xsl>0:${PORTSDIR}/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 <bsd.port.mk>
|