diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2001-12-31 16:10:42 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2001-12-31 16:10:42 +0000 |
commit | d079a78cfba51cf2a4b64daabc974e1ba4c9d83e (patch) | |
tree | 9caa37db0333a6beb8ac836f6fb1b209ef606deb /textproc/xhtml | |
parent | 4e91bb5115c2e8f6c5c4d9b88b44326adbf03255 (diff) | |
download | ports-d079a78cfba51cf2a4b64daabc974e1ba4c9d83e.tar.gz ports-d079a78cfba51cf2a4b64daabc974e1ba4c9d83e.zip |
Notes
Diffstat (limited to 'textproc/xhtml')
-rw-r--r-- | textproc/xhtml/Makefile | 9 | ||||
-rw-r--r-- | textproc/xhtml/pkg-plist | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/textproc/xhtml/Makefile b/textproc/xhtml/Makefile index fa4fe4c15e22..bec544269d23 100644 --- a/textproc/xhtml/Makefile +++ b/textproc/xhtml/Makefile @@ -7,12 +7,16 @@ PORTNAME= xhtml PORTVERSION= 1.0 +PORTRIVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.w3.org/TR/xhtml1/ DISTNAME= xhtml1 MAINTAINER= kuriyama@FreeBSD.org +BUILD_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog +RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog + USE_ZIP= YES NO_MTREE= YES NO_BUILD= YES @@ -23,6 +27,8 @@ DTDDIR= ${INSTDIR}/dtd/xhtml DTDFILES= xhtml-lat1.ent xhtml-special.ent xhtml-symbol.ent \ xhtml.soc xhtml1-frameset.dtd xhtml1-strict.dtd \ xhtml1-transitional.dtd xhtml1.dcl +MKCATALOG= ${PREFIX}/sbin/mkcatalog +PLIST_SUB= MKCATALOG=${MKCATALOG} pre-install: @[ -d ${DTDDIR} ] || ${MKDIR} ${DTDDIR} @@ -30,4 +36,7 @@ pre-install: do-install: @(cd ${WRKSRC}/DTD; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR}) +post-install: + @${MKCATALOG} -c ${INSTDIR}/catalog -q install dtd/xhtml xhtml.soc + .include <bsd.port.mk> diff --git a/textproc/xhtml/pkg-plist b/textproc/xhtml/pkg-plist index d47e2b9a3392..67fb4be31eb6 100644 --- a/textproc/xhtml/pkg-plist +++ b/textproc/xhtml/pkg-plist @@ -1,7 +1,9 @@ share/xml/dtd/xhtml/xhtml-lat1.ent share/xml/dtd/xhtml/xhtml-special.ent share/xml/dtd/xhtml/xhtml-symbol.ent +@unexec %%MKCATALOG%% -c %D/share/xml/catalog -q deinstall dtd/xhtml xhtml.soc share/xml/dtd/xhtml/xhtml.soc +@exec %%MKCATALOG%% -c %D/share/xml/catalog -q install dtd/xhtml xhtml.soc share/xml/dtd/xhtml/xhtml1-frameset.dtd share/xml/dtd/xhtml/xhtml1-strict.dtd share/xml/dtd/xhtml/xhtml1-transitional.dtd |