blob: 51fc2ae8dc8feb653d485d1832a6f869d3df6bb5 (
plain) (
blame)
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
|
PORTNAME= sdocbook-xml
PORTVERSION= 1.1
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= textproc
MASTER_SITES= https://www.oasis-open.org/docbook/xml/simple/${PORTVERSION}/
DISTNAME= docbook-simple-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= "Simplified" DocBook XML DTD
WWW= https://www.oasis-open.org/docbook/xml/simple/
LICENSE= OASIS
LICENSE_NAME= OASIS License
LICENSE_TEXT= License text is available in all files installed by this port
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS+= xmlcatmgr:textproc/xmlcatmgr
USES= zip
NO_ARCH= yes
NO_BUILD= yes
NO_MTREE= yes
NO_WRKSUBDIR= yes
DOCSDIR= ${PREFIX}/share/doc/sdocbook-xml/${PORTVERSION}
PLIST_SUB= DTDDIR=${DTDDIR}
SUB_FILES= ${CATALOG_FILES}
SUB_LIST= DTDDIR=${PREFIX}/${DTDDIR}
CATALOG_FILES= catalog catalog.xml
DTD_NAME= sdocbook
DTD_VERSION= ${PORTVERSION}
DTD_SUBDIR= /dtd
DTDDIR= share/xml/${DTD_NAME}/${DTD_VERSION}${DTD_SUBDIR}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${DTDDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "*.css *.dtd *.mod" ${STAGEDIR}${PREFIX}/${DTDDIR}
.for f in ${CATALOG_FILES}
${INSTALL_DATA} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/${DTDDIR}
.endfor
.include <bsd.port.mk>
|