mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Use mkcatalog to link to catalog chain.
Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net> PR: ports/33342 # This is my first commit of 2002 (JST) year!
This commit is contained in:
parent
4e91bb5115
commit
d079a78cfb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52447
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user