aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2010-11-06 18:32:15 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2010-11-06 18:32:15 +0000
commite7827f50436f8c96c2fe35a9b06d4464ed40ada1 (patch)
treeaa1430f483f65fecfcb9214e966815a6484a9763 /textproc
parentcf017549f5e67bccf25b96c043c9eecd22c998ad (diff)
downloadports-e7827f50436f8c96c2fe35a9b06d4464ed40ada1.tar.gz
ports-e7827f50436f8c96c2fe35a9b06d4464ed40ada1.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xhtml-11/Makefile6
-rw-r--r--textproc/xhtml-11/distinfo1
-rw-r--r--textproc/xhtml-11/files/catalog.xml8
-rw-r--r--textproc/xhtml-11/pkg-plist3
4 files changed, 15 insertions, 3 deletions
diff --git a/textproc/xhtml-11/Makefile b/textproc/xhtml-11/Makefile
index e66f459b8fc5..7d80fecd9233 100644
--- a/textproc/xhtml-11/Makefile
+++ b/textproc/xhtml-11/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xhtml
PORTVERSION= 1.1.${RECDATE}
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.w3.org/TR/2007/WD-xhtml11-${RECDATE}/
DISTNAME= xhtml11
@@ -20,7 +21,7 @@ RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
RECDATE= 20070216
LATEST_LINK= xhtml-11
-WRKSRC= ${WRKDIR}/xhtml11-20070216
+WRKSRC= ${WRKDIR}/xhtml11-${RECDATE}
NO_BUILD= yes
PLIST_SUB+= XMLCAT_ADD="${XMLCAT_ADD}" \
XMLCAT_RM="${XMLCAT_RM}" \
@@ -46,11 +47,12 @@ XSDDIR= share/xml/${PORTNAME}/1.1/xsd
do-install:
${MKDIR} ${PREFIX}/${DTDDIR}
${INSTALL_DATA} ${WRKSRC}/DTD/* ${PREFIX}/${DTDDIR}
+ ${INSTALL_DATA} ${FILESDIR}/catalog.xml ${PREFIX}/${DTDDIR}
${MKDIR} ${PREFIX}/${XSDDIR}
${INSTALL_DATA} ${WRKSRC}/SCHEMA/* ${PREFIX}/${XSDDIR}
post-install:
-# ${XMLCAT_ADD}
+ ${XMLCAT_ADD}
${SGMLCAT_ADD}
.include <bsd.port.mk>
diff --git a/textproc/xhtml-11/distinfo b/textproc/xhtml-11/distinfo
index 35c9beeac391..f07825cf2ea2 100644
--- a/textproc/xhtml-11/distinfo
+++ b/textproc/xhtml-11/distinfo
@@ -1,3 +1,2 @@
-MD5 (xhtml11.tgz) = 919abed7ec7d2c0ce432b5d69ed685f6
SHA256 (xhtml11.tgz) = 9ff808fcb264ca2c13d540194cdd2286d1cdd7c346e622620d2e4c0e39265945
SIZE (xhtml11.tgz) = 192036
diff --git a/textproc/xhtml-11/files/catalog.xml b/textproc/xhtml-11/files/catalog.xml
new file mode 100644
index 000000000000..dcc181d2fd55
--- /dev/null
+++ b/textproc/xhtml-11/files/catalog.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
+ "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
+
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
+ <public publicId="-//W3C//DTD XHTML 1.1//EN" uri="xhtml11.dtd" />
+ <public publicId="-//W3C//ENTITIES XHTML 1.1 Document Model 1.0//EN" uri="xhtml11-model-1.mod" />
+</catalog>
diff --git a/textproc/xhtml-11/pkg-plist b/textproc/xhtml-11/pkg-plist
index db7c0444527a..0834ad833061 100644
--- a/textproc/xhtml-11/pkg-plist
+++ b/textproc/xhtml-11/pkg-plist
@@ -1,5 +1,7 @@
@unexec %%SGMLCAT_RM%%
+@unexec %%XMLCAT_RM%%
share/xml/xhtml/1.1/dtd/VERSION
+share/xml/xhtml/1.1/dtd/catalog.xml
share/xml/xhtml/1.1/dtd/xhtml11-flat.dtd
share/xml/xhtml/1.1/dtd/xhtml11-model-1.mod
share/xml/xhtml/1.1/dtd/xhtml11.cat
@@ -13,4 +15,5 @@ share/xml/xhtml/1.1/xsd/xhtml11.xsd
@dirrm share/xml/xhtml/1.1/xsd
@dirrm share/xml/xhtml/1.1
@dirrmtry share/xml/xhtml
+@exec %%XMLCAT_ADD%%
@exec %%SGMLCAT_ADD%%