mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
Register catalog entry with xmlcatmgr.
PR: ports/40742, ports/36795
This commit is contained in:
parent
f78f82b9ae
commit
3db7a3cbe5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84093
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= dsssl-docbook-modular
|
||||
PORTVERSION= 1.78
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
@ -21,6 +21,10 @@ COMMENT= DSSSL stylesheets for the DocBook DTD by Norman Walsh
|
||||
NO_MTREE= yes
|
||||
|
||||
INSTDIR= ${PREFIX}/share/sgml/docbook/dsssl/modular
|
||||
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
||||
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
||||
PLIST_SUB= XMLCATMGR=${XMLCATMGR} DTDDIR=${INSTDIR} \
|
||||
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
||||
|
||||
do-build:
|
||||
@${RM} -Rf ${WRKSRC}/docsrc
|
||||
@ -35,6 +39,7 @@ do-install:
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
||||
|
||||
post-install:
|
||||
${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${INSTDIR}/catalog
|
||||
@${CAT} ${FILESDIR}/install-note
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -764,6 +764,8 @@ share/sgml/docbook/dsssl/modular/print/docbook.dsl
|
||||
share/sgml/docbook/dsssl/modular/print/notoc.dsl
|
||||
share/sgml/docbook/dsssl/modular/print/plain.dsl
|
||||
share/sgml/docbook/dsssl/modular/print/version.dsl
|
||||
@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/catalog
|
||||
@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/catalog
|
||||
@dirrm share/sgml/docbook/dsssl/modular/print
|
||||
@dirrm share/sgml/docbook/dsssl/modular/olink
|
||||
@dirrm share/sgml/docbook/dsssl/modular/lib
|
||||
|
Loading…
Reference in New Issue
Block a user