Correct a typo in the pkg-plist that was masking the fact that DocBook 4.1.2

didn't include a catalog.xml file.  Fix up the port so one is now able to
reinstall it.  Note: most users will have to manually remove the 4.1.2
DocBook entry from /usr/local/share/xml/catalog.ports before upgrading this
port.

Finally beaten into looking at this by:	truckman
This commit is contained in:
Joe Marcus Clarke 2004-02-03 06:28:14 +00:00
parent b90d803c96
commit e4239b23d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99861
2 changed files with 2 additions and 7 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= docbook-sk
PORTVERSION= 4.1.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://www.docbook.org/xml/${PORTVERSION}/
DISTNAME= docbkx${PORTVERSION:S/.//g}
@ -23,13 +23,11 @@ NO_WRKSUBDIR= yes
PLIST_SUB= DTD_VERSION=${PORTVERSION} \
XMLCATMGR=${XMLCATMGR} \
DOCBOOKDIR=${DOCBOOKDIR} \
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
DOCBOOKDIR= ${PREFIX}/share/xml/${PORTNAME:S/-sk//}/${PORTVERSION}
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports
pre-install:
@[ -d ${DOCBOOKDIR}/ent ] || ${MKDIR} ${DOCBOOKDIR}/ent
@ -41,6 +39,5 @@ do-install:
post-install:
@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DOCBOOKDIR}/docbook.cat
@${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${DOCBOOKDIR}/catalog.xml
.include <bsd.port.mk>

View File

@ -2,8 +2,6 @@ share/xml/docbook/%%DTD_VERSION%%/40chg.txt
share/xml/docbook/%%DTD_VERSION%%/41chg.txt
share/xml/docbook/%%DTD_VERSION%%/ChangeLog
share/xml/docbook/%%DTD_VERSION%%/calstblx.dtd
@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%DOCBOOKDIR%%/catalog.xmlshare/xml/docbook/%%DTD_VERSION%%/catalog.xml
@exec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% add nextCatalog %%DOCBOOKDIR%%/catalog.xml
share/xml/docbook/%%DTD_VERSION%%/dbcentx.mod
share/xml/docbook/%%DTD_VERSION%%/dbgenent.mod
share/xml/docbook/%%DTD_VERSION%%/dbhierx.mod