Update port to include the last docbook ports.
Also add the jade catalog to the main catalog file if it exists.
This commit is contained in:
parent
28526d2f43
commit
6568517ac6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31027
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= dtd-catalogs
|
||||
PORTVERSION= 1.0
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
@ -29,11 +29,14 @@ HTML_CAT= ${LOCALBASE}/share/sgml/html/catalog
|
||||
DOCBOOK241_CAT= ${LOCALBASE}/share/sgml/docbook/2.4.1/catalog
|
||||
DOCBOOK300_CAT= ${LOCALBASE}/share/sgml/docbook/3.0/catalog
|
||||
DOCBOOK310_CAT= ${LOCALBASE}/share/sgml/docbook/3.1/catalog
|
||||
DOCBOOK400_CAT= ${LOCALBASE}/share/sgml/docbook/4.0/catalog
|
||||
DOCBOOK410_CAT= ${LOCALBASE}/share/sgml/docbook/4.1/catalog
|
||||
LINUXDOC_CAT= ${LOCALBASE}/share/sgml/linuxdoc/catalog
|
||||
JADE_CAT= ${LOCALBASE}/share/sgml/jade/catalog
|
||||
|
||||
ALL_CATALOGS= ${ISO8879_CAT} ${ISO12083_CAT} ${HTML_CAT} \
|
||||
${DOCBOOK241_CAT} ${DOCBOOK300_CAT} ${DOCBOOK310_CAT} \
|
||||
${LINUXDOC_CAT}
|
||||
${DOCBOOK400_CAT} ${DOCBOOK410_CAT} ${LINUXDOC_CAT}
|
||||
|
||||
CATALOG= ${LOCALBASE}/share/sgml/catalog
|
||||
|
||||
@ -41,10 +44,12 @@ EXTRACT_ONLY= # empty
|
||||
NO_BUILD= yes
|
||||
|
||||
do-install: # empty
|
||||
@([ -f ${CATALOG} ] && ${MV} ${CATALOG} ${CATALOG}.orig; \
|
||||
${TOUCH} ${CATALOG}; \
|
||||
for i in ${ALL_CATALOGS}; do \
|
||||
${ECHO} "CATALOG \"$${i}\"" >> ${CATALOG}; \
|
||||
done)
|
||||
@[ -f ${CATALOG} ] && ${MV} ${CATALOG} ${CATALOG}.orig || ${TRUE}
|
||||
@${TOUCH} ${CATALOG};
|
||||
@for i in ${ALL_CATALOGS}; do \
|
||||
${ECHO} "CATALOG \"$${i}\"" >> ${CATALOG}; \
|
||||
done;
|
||||
@[ -f ${JADE_CAT} ] && ${ECHO} "CATALOG \"${JADE_CAT}\"" >> \
|
||||
${CATALOG} || ${TRUE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user