1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Use mkcatalog for adding this entry to ${PREFIX}/share/sgml/catalog.

This commit is contained in:
Shigeyuki Fukushima 2000-10-27 15:32:58 +00:00
parent dfbcb5215e
commit 0ebf2d9041
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34294
2 changed files with 9 additions and 0 deletions

View File

@ -14,11 +14,15 @@ EXTRACT_ONLY= # empty
MAINTAINER= kuriyama@FreeBSD.org
RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
NO_MTREE= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG}
INSTDIR= ${PREFIX}/share/sgml/html
MKCATALOG= ${PREFIX}/sbin/mkcatalog
pre-install:
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
@ -28,4 +32,7 @@ do-install:
@${CHMOD} ${SHAREMODE} `find ${INSTDIR} -type f`
@${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR}
post-install:
@${MKCATALOG} -q install ${PORTNAME}
.include <bsd.port.mk>

View File

@ -21,7 +21,9 @@ share/sgml/html/4.01/HTMLsymbol.ent
share/sgml/html/4.01/frameset.dtd
share/sgml/html/4.01/loose.dtd
share/sgml/html/4.01/strict.dtd
@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%
share/sgml/html/catalog
@exec %%MKCATALOG%% -q install %%DTD_NAME%%
@dirrm share/sgml/html/2.0
@dirrm share/sgml/html/3.2
@dirrm share/sgml/html/4.0