1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/xhtml/Makefile
Baptiste Daroussin 963854440c Add a new keywork xmlcatmgr
It simplifies the handling of the XML and SMGL catalog
It brings a big of consistency by always specifying the catalog path absolute
instead of mixing absolute and relative path.
The keyword is also written a PKG_ROOTDIR friendly to simplify cross installing

Reviewed by:	hrs
Differential Revision:	https://reviews.freebsd.org/D6539
2016-05-24 22:32:49 +00:00

38 lines
955 B
Makefile

# Created by: kuriyama
# $FreeBSD$
PORTNAME= xhtml
PORTVERSION= 1.0.20020801
PORTREVISION= 5
CATEGORIES= textproc
#MASTER_SITES= http://www.w3.org/TR/xhtml1/
MASTER_SITES= LOCAL/kuriyama
DISTNAME= xhtml1-20020801
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= W3C's XHTML DTD
RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr
USES= zip
NO_MTREE= YES
NO_BUILD= YES
WRKSRC= ${WRKDIR}/xhtml1-20020801
SUB_FILES= catalog.xml
SUB_LIST+= DTDDIR="${DTDDIR}"
INSTDIR= ${PREFIX}/share/xml
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 ${WRKDIR}/catalog.xml
pre-su-install:
@[ -d ${STAGEDIR}${DTDDIR} ] || ${MKDIR} ${STAGEDIR}${DTDDIR}
do-install:
@(cd ${WRKSRC}/DTD; ${INSTALL_DATA} ${DTDFILES} ${STAGEDIR}${DTDDIR})
${SED} -e 's|SGMLDECL.*||' ${WRKSRC}/DTD/xhtml.soc > ${STAGEDIR}${DTDDIR}/xhtml-dcl.soc
.include <bsd.port.mk>