blob: fd856842fb3804df918d7072cedb8cb93144c657 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
PORTNAME= docbook-xsl-ns
PORTVERSION= 1.79.1
CATEGORIES= textproc
MASTER_SITES= SF/docbook/docbook-xsl-ns/${PORTVERSION}:src \
SF/docbook/docbook-xsl-doc/${PORTVERSION}:doc
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Namespace-aware DocBook XSLT stylesheets
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xmlcatmgr:textproc/xmlcatmgr
RUN_DEPENDS= docbook>=0:textproc/docbook \
xmlcatmgr:textproc/xmlcatmgr
USES= tar:bzip2
EXTRACT_AFTER_ARGS= --exclude '.*' \
--exclude '*.sh' \
--exclude '*.LOG' \
--exclude svn-commit.tmp
NO_ARCH= yes
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
PORTDOCS= *
OPTIONS_DEFINE= DOCS
DOCS_DISTFILES= docbook-xsl-doc-${PORTVERSION}${EXTRACT_SUFX}:doc
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/xsl/docbook-ns
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/xsl/docbook-ns
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/docbook-xsl-${PORTVERSION}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
# maintainer section:
.if defined(MAINTAINER_MODE)
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \
docbook-xsl-doc-${PORTVERSION}${EXTRACT_SUFX}:doc
.endif
.include <bsd.port.mk>
|