diff options
author | shige <shige@FreeBSD.org> | 2000-10-27 23:32:58 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2000-10-27 23:32:58 +0800 |
commit | 99b518c44499414aa8bdd4dcbc1ae24ab0866b25 (patch) | |
tree | 7b77db7a30e7bc7895f3800b5763ba480ca40561 | |
parent | f7968c914d16a21a0714ddb19e984140c5f76982 (diff) | |
download | freebsd-ports-gnome-99b518c44499414aa8bdd4dcbc1ae24ab0866b25.tar.gz freebsd-ports-gnome-99b518c44499414aa8bdd4dcbc1ae24ab0866b25.tar.zst freebsd-ports-gnome-99b518c44499414aa8bdd4dcbc1ae24ab0866b25.zip |
Use mkcatalog for adding this entry to ${PREFIX}/share/sgml/catalog.
-rw-r--r-- | textproc/html/Makefile | 7 | ||||
-rw-r--r-- | textproc/html/pkg-plist | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/textproc/html/Makefile b/textproc/html/Makefile index caad0875d844..64ec012867dc 100644 --- a/textproc/html/Makefile +++ b/textproc/html/Makefile @@ -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> diff --git a/textproc/html/pkg-plist b/textproc/html/pkg-plist index ffc573840e4f..ce3e2d0fba61 100644 --- a/textproc/html/pkg-plist +++ b/textproc/html/pkg-plist @@ -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 |